diff --git a/core/flyout_horizontal.js b/core/flyout_horizontal.js index c201ce272..b01a84437 100644 --- a/core/flyout_horizontal.js +++ b/core/flyout_horizontal.js @@ -367,6 +367,7 @@ Blockly.HorizontalFlyout.prototype.reflowInternal_ = function() { // Record the height for workspace metrics and .position. this.height_ = flyoutHeight; this.position(); + this.targetWorkspace.recordDragTargets(); } }; diff --git a/core/flyout_vertical.js b/core/flyout_vertical.js index 90b0d9765..a09b3fb8e 100644 --- a/core/flyout_vertical.js +++ b/core/flyout_vertical.js @@ -375,6 +375,7 @@ Blockly.VerticalFlyout.prototype.reflowInternal_ = function() { // Record the width for workspace metrics and .position. this.width_ = flyoutWidth; this.position(); + this.targetWorkspace.recordDragTargets(); } };