Skip to content

Commit

Permalink
fixing pattern editor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
julianh2o committed Aug 21, 2016
1 parent c2043c2 commit b631d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/MobileLoadPatternDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function($,tinycolor,Pattern,util,SelectList,LEDStripRenderer,ControlsView,EditP
});

util.bindClickEvent(this.$el.find(".createPattern").hide(),_.bind(function() {
this.editPatternDialog = new EditPatternDialog(this.conduit,this.gui,{"type":"bitmap"}).show();
this.editPatternDialog = new EditPatternDialog(this.conduit,this.gui,null).show();
this.stripRenderer.stop();
$(this.editPatternDialog).on("Save",_.bind(function(e,pattern) {
this.conduit.emit("SavePattern",pattern);
Expand Down

0 comments on commit b631d84

Please sign in to comment.