Merge pull request #590 from rachel-fenichel/bugfix/content_height

Fix #586
This commit is contained in:
rachel-fenichel
2016-08-24 14:04:49 -07:00
committed by GitHub

View File

@@ -162,6 +162,8 @@ Blockly.FlyoutButton.prototype.onMouseUp = function(e) {
e.preventDefault();
// Don't propagate mousewheel event (zooming).
e.stopPropagation();
// Stop binding to mouseup and mousemove events--flyout mouseup would normally
// do this, but we're skipping that.
Blockly.Flyout.terminateDrag_();
Blockly.Variables.createVariable(this.targetWorkspace_);
};