mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 20:37:33 +00:00
38947113f5336658eb703a5d3ffa1ede8c8bf080
TFreqDisplay.DoMouseWheel already tunes its own VFO per-digit when the wheel is used over it. But the form-level FormMouseWheel also fired for the same event (Cocoa routes the wheel to the form too) and tuned the active VFO, so scrolling over the VFO B display changed both B (via the widget) and A (via the form handler). Skip FormMouseWheel when the cursor is over either FreqDisplay; let the widget handle per-digit tuning there. Uses Mouse.CursorPos for the hit-test (the event's MousePos is not in screen coordinates on Cocoa). The form handler still tunes the active VFO over the spectrum/waterfall/empty areas. Pre-existing bug. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Languages
Pascal
96.4%
Python
2.9%
Shell
0.6%