From 55a453dab90619ddbda1f9c5418fe76303f75ab6 Mon Sep 17 00:00:00 2001 From: Maribeth Bottorff Date: Mon, 14 Dec 2020 11:40:25 -0800 Subject: [PATCH] update break block even if it's not the dragged block (#4533) --- blocks/loops.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blocks/loops.js b/blocks/loops.js index d6fb2f2f6..772871dba 100644 --- a/blocks/loops.js +++ b/blocks/loops.js @@ -334,9 +334,8 @@ Blockly.Constants.Loops.CONTROL_FLOW_IN_LOOP_CHECK_MIXIN = { // Don't change state if: // * It's at the start of a drag. // * It's not a move event. - // * Or the moving block is not this block. if (!this.workspace.isDragging || this.workspace.isDragging() || - e.type != Blockly.Events.BLOCK_MOVE || e.blockId != this.id) { + e.type != Blockly.Events.BLOCK_MOVE) { return; } var enabled = Blockly.Constants.Loops.CONTROL_FLOW_IN_LOOP_CHECK_MIXIN