We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acf9aa5 commit dd490d3Copy full SHA for dd490d3
core/gesture.js
@@ -861,8 +861,9 @@ Blockly.Gesture.prototype.setStartBlock = function(block) {
861
// If the gesture already went through a bubble, don't set the start block.
862
if (!this.startBlock_ && !this.startBubble_) {
863
this.startBlock_ = block;
864
- this.shouldDuplicateOnDrag_ =
865
- Blockly.scratchBlocksUtils.isShadowArgumentReporter(block) || block.canDuplicateOnDrag();
+ this.shouldDuplicateOnDrag_ = !block.isInFlyout &&
+ (Blockly.scratchBlocksUtils.isShadowArgumentReporter(block) ||
866
+ block.canDuplicateOnDrag());
867
if (block.isInFlyout && block != block.getRootBlock()) {
868
this.setTargetBlock_(block.getRootBlock());
869
} else {
0 commit comments