fix(flex): the Chase new panel's spot click zooms the panadapter too

Every other spot click — cluster grid, band map, watchlist, alert list — goes
through handleSpotClick, which applies the operator's per-mode panadapter
width after the tune. The Chase new panel had its own pick handler that tuned
and stopped there; it now makes the same view change, after the tune for the
same reason.
This commit is contained in:
2026-08-29 02:37:13 +02:00
parent e93d2d36a8
commit 29267a865c
2 changed files with 7 additions and 3 deletions
+2
View File
@@ -7422,6 +7422,8 @@ export default function App() {
<ChaseNewPanel onPick={(sp) => {
onCallsignInput(sp.call, { force: true });
if (sp.freq_hz) void tuneRigCAT(sp.freq_hz, sp.mode);
// And the panadapter width too: same gesture as any other spot click.
if (sp.freq_hz) FlexZoomForSpot(sp.mode ?? '', sp.freq_hz).catch(() => {});
}} onClose={() => { setShowChaseNew(false); writeUiPref('opslog.showChaseNew', '0'); }} />
</div>
)}