mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-11 10:18:52 -04:00
Mouse wheel support for tuning bar digits
This commit is contained in:
+5
-1
@@ -518,7 +518,11 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!waterfallCanvas->HasFocus()) {
|
||||
if (demodTuner->getMouseTracker()->mouseInView()) {
|
||||
if (!demodTuner->HasFocus()) {
|
||||
demodTuner->SetFocus();
|
||||
}
|
||||
} else if (!waterfallCanvas->HasFocus()) {
|
||||
waterfallCanvas->SetFocus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user