mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-07-30 20:32:27 -04:00
Hold shift to nudge at half the snap value
This commit is contained in:
parent
fb3c667aa9
commit
03c6db1f16
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user