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:
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user