Skip to content

Commit

Permalink
Update 3dviewer.js BugFix issue 2269
Browse files Browse the repository at this point in the history
BugFix issue 2269 where the active node was being highlighted even when it was set not to highlighted under several circumstances.
  • Loading branch information
Cervidellus authored Dec 2, 2024
1 parent eb6d70f commit 1a9f37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/applications/catmaid/static/js/widgets/3dviewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2154,7 +2154,7 @@
var activeNodeDisplayed = activeNode.mesh.visible;
var activeNodeSelected = !!SkeletonAnnotations.getActiveNodeId();

activeNode.setVisible(activeNodeSelected);
activeNode.setVisible(activeNodeDisplayed && activeNodeSelected);
activeNode.updatePosition(this.space, this.options);

if (activeNode.mesh.visible && this.options.follow_active) {
Expand Down

0 comments on commit 1a9f37a

Please sign in to comment.