Skip to content

Commit

Permalink
also hide input points layer after run is complete
Browse files Browse the repository at this point in the history
  • Loading branch information
AnniekStok committed Oct 18, 2024
1 parent 71c21d3 commit 40b128f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def update_tracks(self, tracks: Tracks, name: str) -> None:

# deactivate the input labels layer
for layer in self.viewer.layers:
if isinstance(layer, napari.layers.Labels):
if isinstance(layer, (napari.layers.Labels | napari.layers.Points)):
layer.visible = False

self.set_display_mode("all")
Expand Down

0 comments on commit 40b128f

Please sign in to comment.