Skip to content

Commit

Permalink
review fix
Browse files Browse the repository at this point in the history
Signed-off-by: Seddik Yengui <seddik.yengui_externe@rte-france.com>
  • Loading branch information
Seddik Yengui committed Nov 29, 2024
1 parent d80b223 commit 808c327
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 808c327

Please sign in to comment.