diff --git a/core/block_svg.js b/core/block_svg.js index 56671d1a2..f6cdadc0d 100644 --- a/core/block_svg.js +++ b/core/block_svg.js @@ -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();