mirror of
https://github.com/google/blockly.git
synced 2026-05-20 02:50:12 +02:00
fix: Fix bug that could cause blocks to be inadvertently deleted (#9859)
This commit is contained in:
@@ -222,6 +222,8 @@ export class BlockDragStrategy implements IDragStrategy {
|
||||
return alternateTarget.startDrag(e);
|
||||
}
|
||||
|
||||
this.block.workspace.recordDragTargets();
|
||||
|
||||
this.dragging = true;
|
||||
this.fireDragStartEvent();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user