mirror of
https://github.com/google/blockly.git
synced 2026-01-14 20:37:10 +01:00
Fix #586
This commit is contained in:
@@ -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_);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user