mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
Check workspace.isDragging() instead of Blockly.dragMode_
This commit is contained in:
@@ -1458,7 +1458,7 @@ Blockly.BlockSvg.prototype.bumpNeighbours_ = function() {
|
||||
if (!this.workspace) {
|
||||
return; // Deleted block.
|
||||
}
|
||||
if (Blockly.dragMode_ != Blockly.DRAG_NONE) {
|
||||
if (this.workspace.isDragging()) {
|
||||
return; // Don't bump blocks during a drag.
|
||||
}
|
||||
var rootBlock = this.getRootBlock();
|
||||
|
||||
Reference in New Issue
Block a user