Merge pull request #335 from picklesrus/merge-conflict-click-bug

Fix bad merge. Commit  36e0764e57 and e…
This commit is contained in:
Neil Fraser
2016-04-18 17:07:04 -07:00

View File

@@ -1061,6 +1061,7 @@ Blockly.WorkspaceSvg.prototype.zoomReset = function(e) {
this.scrollCenter_();
// This event has been handled. Don't start a workspace drag.
e.stopPropagation();
e.preventDefault();
};
/**
@@ -1105,9 +1106,6 @@ Blockly.WorkspaceSvg.prototype.setScale = function(newScale) {
// No toolbox, resize flyout.
this.flyout_.reflow();
}
// This event has been handled. Don't start a workspace drag.
e.stopPropagation();
e.preventDefault();
};
/**