From 0242a4acc0c6b2631c948cc5bb3df627f44051a1 Mon Sep 17 00:00:00 2001 From: Grzegorz Rozdzialik Date: Thu, 5 Jul 2018 16:14:05 +0200 Subject: [PATCH] Add hiding edge tooltip when a node is hovered --- lib/network/modules/InteractionHandler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/network/modules/InteractionHandler.js b/lib/network/modules/InteractionHandler.js index cbdc49013..88c7b184d 100644 --- a/lib/network/modules/InteractionHandler.js +++ b/lib/network/modules/InteractionHandler.js @@ -619,6 +619,7 @@ class InteractionHandler { for (let i = 0; i < nodeIndices.length; i++) { node = nodes[nodeIndices[i]]; if (node.isOverlappingWith(pointerObj) === true) { + nodeUnderCursor = true; if (node.getTitle() !== undefined) { overlappingNodes.push(nodeIndices[i]); }