Skip to content

Commit

Permalink
Fix: update hoverable element when mouse leave the NAD
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 51a54e5 commit d80b223
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d80b223

Please sign in to comment.