mirror of
https://github.com/google/blockly.git
synced 2026-01-05 08:00:09 +01:00
update break block even if it's not the dragged block (#4533)
This commit is contained in:
committed by
GitHub
parent
e258d98b50
commit
55a453dab9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user