Merge pull request #4927 from gonfunko/flyout-delete

Fixed bug that prevented delete areas from updating when flyout width changed.
This commit is contained in:
Aaron Dodson
2021-06-17 08:54:09 -07:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -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();
}
};

View File

@@ -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();
}
};