Fix bad merge. Commit 36e0764e57 and e39a0b7069 collided on their use/removal of the event param to one of the zoom functions.

This commit is contained in:
Katelyn Mann
2016-04-18 16:53:32 -07:00
parent 9f260501fe
commit b69ab459bd

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();
};
/**