Drop old commented behaviour; see parent class if needed

asyncify_input_modes
Tyler Goodlet 2021-06-16 05:43:35 -04:00
parent 03c95ca908
commit 983a517a8c
1 changed files with 0 additions and 14 deletions

View File

@ -105,20 +105,6 @@ async def handle_viewmode_inputs(
elif key == Qt.Key_A: elif key == Qt.Key_A:
view.mode.set_exec('alert') view.mode.set_exec('alert')
# XXX: Leaving this for light reference purposes, there
# seems to be some work to at least gawk at for history mgmt.
# Key presses are used only when mouse mode is RectMode
# The following events are implemented:
# ctrl-A : zooms out to the default "full" view of the plot
# ctrl-+ : moves forward in the zooming stack (if it exists)
# ctrl-- : moves backward in the zooming stack (if it exists)
# view.scaleHistory(-1)
# elif ev.text() in ['+', '=']:
# view.scaleHistory(1)
# elif ev.key() == QtCore.Qt.Key_Backspace:
# view.scaleHistory(len(view.axHistory))
else: else:
# maybe propagate to parent widget # maybe propagate to parent widget
# event.ignore() # event.ignore()