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 99d8dae8..f617e8dc 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,8 +422,9 @@ export class NetworkAreaDiagramViewer { } private onMouseLeftUpOrLeave(event: MouseEvent) { - // We call on hover to update hoverable element - this.onHover(event); + if (this.onToggleHoverCallback != null) { + this.onToggleHoverCallback(false, null, '', ''); + } // check if I moved or selected an element if (this.draggedElement) { // moving node