From d80b2234b39ceecc05701344a0b1012c73b12524 Mon Sep 17 00:00:00 2001 From: Seddik Yengui Date: Fri, 29 Nov 2024 08:12:54 +0100 Subject: [PATCH] Fix: update hoverable element when mouse leave the NAD Signed-off-by: Seddik Yengui --- .../network-area-diagram-viewer/network-area-diagram-viewer.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts b/src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts index 3b53fdce..99d8dae8 100644 --- a/src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts +++ b/src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts @@ -422,6 +422,8 @@ export class NetworkAreaDiagramViewer { } private onMouseLeftUpOrLeave(event: MouseEvent) { + // We call on hover to update hoverable element + this.onHover(event); // check if I moved or selected an element if (this.draggedElement) { // moving node