bauerdavid / napari-nD-annotator

BSD 3-Clause "New" or "Revised" License
28 stars 1 forks source link

Update projections for any selected layer type #34

Open bauerdavid opened 2 years ago

bauerdavid commented 2 years ago

Is your feature request related to a problem? Please describe. When an object is selected, the projection display updates the projections only when the current labels layer is active. If, for example, I want to use the minimal contour method (https://github.com/bauerdavid/napari-nD-annotator/pull/33), the projections won't be redrawn.

Describe the solution you'd like Instead of binding the update callbacks to the labels layer, the active layer should be used. Optionally, when using a Points layer, its data could also be displayed on the projections