Skip to content

Commit

Permalink
Merge pull request #2278 from Cervidellus/dev
Browse files Browse the repository at this point in the history
Update 3dviewer.js node highlighting fixes #2269
  • Loading branch information
tomka authored Dec 2, 2024
2 parents eb6d70f + 1a9f37a commit 433ae21
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 433ae21

Please sign in to comment.