From 8d25d8b7e2b48c8d7e5403b1930f02893f562b2d Mon Sep 17 00:00:00 2001 From: sshiv012 <122703005+sshiv012@users.noreply.github.com> Date: Mon, 10 Aug 2026 23:40:02 -0700 Subject: [PATCH] seed fea813 --- .../workflow-editor/mini-map/mini-map.component.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/app/workspace/component/workflow-editor/mini-map/mini-map.component.ts b/frontend/src/app/workspace/component/workflow-editor/mini-map/mini-map.component.ts index 73a2c5bd089..43be1357572 100644 --- a/frontend/src/app/workspace/component/workflow-editor/mini-map/mini-map.component.ts +++ b/frontend/src/app/workspace/component/workflow-editor/mini-map/mini-map.component.ts @@ -84,6 +84,14 @@ export class MiniMapComponent implements AfterViewInit, OnDestroy { }); this.hidden = JSON.parse(localStorage.getItem("mini-map") as string) || false; + // Redraw the navigator box when an operator is dragged on the main canvas, + // otherwise the minimap keeps showing the pre-drag layout until the next + // translate/scale/resize event. + this.workflowActionService + .getJointGraphWrapper() + .getElementPositionChangeEvent() + .subscribe(() => this.updateNavigator()); + this.panelService.closePanelStream.pipe(untilDestroyed(this)).subscribe(() => (this.hidden = true)); this.panelService.resetPanelStream.pipe(untilDestroyed(this)).subscribe(() => (this.hidden = false)); }