From 151e427e1f7142f9430e59807d996900820e2184 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 16 Jun 2021 05:43:35 -0400 Subject: [PATCH] Drop old commented behaviour; see parent class if needed --- piker/ui/_interaction.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/piker/ui/_interaction.py b/piker/ui/_interaction.py index 70732205..70b9a390 100644 --- a/piker/ui/_interaction.py +++ b/piker/ui/_interaction.py @@ -105,20 +105,6 @@ async def handle_viewmode_inputs( elif key == Qt.Key_A: 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: # maybe propagate to parent widget # event.ignore()