Skip to content

Commit

Permalink
dont disable napari functions
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson committed May 7, 2021
1 parent a1abc96 commit 78c0b2a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions brainreg_segment/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@

# LAYOUT HELPERS ################################################################################

from brainreg_segment.layout.utils import (
disable_napari_key_bindings,
disable_napari_btns,
# overwrite_napari_roll,
)
# from brainreg_segment.layout.utils import (
# disable_napari_key_bindings,
# disable_napari_btns,
# overwrite_napari_roll,
# )
from brainreg_segment.layout.gui_constants import (
WINDOW_HEIGHT,
WINDOW_WIDTH,
Expand Down Expand Up @@ -70,8 +70,9 @@ def __init__(

# Disable / overwrite napari viewer functions
# that either do not make sense or should be avoided by the user
disable_napari_btns(self.viewer)
disable_napari_key_bindings()
# removed for now, to make sure plugin
# disable_napari_btns(self.viewer)
# disable_napari_key_bindings()
# overwrite_napari_roll(self.viewer)

# Main layers
Expand Down

0 comments on commit 78c0b2a

Please sign in to comment.