Skip to content

Commit

Permalink
Rupato/bot 2098/fix delete and zoom after blockly update (#16436)
Browse files Browse the repository at this point in the history
* fix: blockly drag and zoom

* fix: blockly drag and zoom

* fix: blockly drag and zoom

* fix: for flyout gesture

* fix: for flyout gesture

* fix: removing gesture

* fix: removing gesture

* fix: removing gesture
  • Loading branch information
rupato-deriv committed Aug 15, 2024
1 parent 63b747d commit 7569ae1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/bot-skeleton/src/scratch/hooks/gesture.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Blockly.Gesture.prototype.updateIsDraggingFromFlyout = function () {
}

// The start block is no longer relevant, because this is a drag.
this.startBlock.workspace.clearGesture();
this.startBlock = null;
this.targetBlock = this.flyout.createBlock(this.mostRecentEvent, this.targetBlock);
this.targetBlock.select();
Expand Down

0 comments on commit 7569ae1

Please sign in to comment.