Skip to content

Commit 3e7c1f8

Browse files
Merge branch 'develop' into develop-builds
2 parents b489e4f + dd490d3 commit 3e7c1f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/gesture.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,8 +861,9 @@ Blockly.Gesture.prototype.setStartBlock = function(block) {
861861
// If the gesture already went through a bubble, don't set the start block.
862862
if (!this.startBlock_ && !this.startBubble_) {
863863
this.startBlock_ = block;
864-
this.shouldDuplicateOnDrag_ =
865-
Blockly.scratchBlocksUtils.isShadowArgumentReporter(block) || block.canDuplicateOnDrag();
864+
this.shouldDuplicateOnDrag_ = !block.isInFlyout &&
865+
(Blockly.scratchBlocksUtils.isShadowArgumentReporter(block) ||
866+
block.canDuplicateOnDrag());
866867
if (block.isInFlyout && block != block.getRootBlock()) {
867868
this.setTargetBlock_(block.getRootBlock());
868869
} else {

0 commit comments

Comments
 (0)