forked from napari/napari
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When calculating view directions, check ndim, not just ndisplay (napa…
…ri#7301) # References and relevant issues Closes: napari#7299 # Description Rather than just checking ndisplay, which can be 3 for a 2D layer (ndim being 2), this PR adds a check that `ndim` isn't 2. I also added a test that fails without this PR, but passes with it.
- Loading branch information
1 parent
d20a1fc
commit c73e9d5
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters