diff --git a/core/workspace_svg.ts b/core/workspace_svg.ts index 910171007..7c57f47cd 100644 --- a/core/workspace_svg.ts +++ b/core/workspace_svg.ts @@ -1049,8 +1049,7 @@ export class WorkspaceSvg extends Workspace implements IASTNodeLocationSvg { resize() { if (this.toolbox_) { this.toolbox_.position(); - } - if (this.flyout) { + } else if (this.flyout) { this.flyout.position(); }