From 03c6db1f16a8309699b5c989efd034f75cbf5ec4 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Sun, 14 Feb 2016 06:10:42 -0500 Subject: [PATCH] Hold shift to nudge at half the snap value --- src/AppFrame.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/AppFrame.cpp b/src/AppFrame.cpp index 3d29593..ee8cf3e 100644 --- a/src/AppFrame.cpp +++ b/src/AppFrame.cpp @@ -1613,6 +1613,12 @@ int AppFrame::OnGlobalKeyDown(wxKeyEvent &event) { DemodulatorInstance *demod = nullptr, *lastDemod = wxGetApp().getDemodMgr().getLastActiveDemodulator(); int snap = wxGetApp().getFrequencySnap(); + if (event.ShiftDown()) { + if (snap != 1) { + snap /= 2; + } + } + switch (event.GetKeyCode()) { case WXK_UP: case WXK_NUMPAD_UP: