@neo4j-nvl/interaction-handlers 0.2.23 → 0.2.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -76,6 +76,7 @@ export class HoverInteraction extends BaseInteraction {
|
|
|
76
76
|
this.callCallbackIfRegistered('onHover', this.currentHoveredElement, nvlTargets, event);
|
|
77
77
|
// Use pure update API to avoid the previous removed node to be re-added to the scene.
|
|
78
78
|
this.options.drawShadowOnHover &&
|
|
79
|
+
this.nvlInstance.nodes.length > 0 &&
|
|
79
80
|
this.nvlInstance.updateElementsInGraph(this.updates.nodes, this.updates.relationships);
|
|
80
81
|
this.clearUpdates();
|
|
81
82
|
}
|