mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
fix: dragging and disposing of shadows (#8172)
* Revert "fix: dragging blocks by shadows to delete (#8138)"
This reverts commit 3fd749205f.
* fix: dragging shadows
This commit is contained in:
@@ -1015,7 +1015,7 @@ export class Gesture {
|
||||
// If the gesture already went through a bubble, don't set the start block.
|
||||
if (!this.startBlock && !this.startBubble) {
|
||||
this.startBlock = block;
|
||||
common.setSelected(this.startBlock.getFirstNonShadowBlock());
|
||||
common.setSelected(this.startBlock);
|
||||
if (block.isInFlyout && block !== block.getRootBlock()) {
|
||||
this.setTargetBlock(block.getRootBlock());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user