Hold shift to nudge at half the snap value

This commit is contained in:
Charles J. Cliffe 2016-02-14 06:10:42 -05:00
parent fb3c667aa9
commit 03c6db1f16

View File

@ -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: