[fix](trx-frontend-http): stabilize signal strength field width and BW overlay positioning
Increase sig-strength-display min-width to 7.5rem so the field no longer resizes when the value switches between two-digit and three-digit numbers. Reposition the fast BW overlay immediately when bandwidth changes arrive via SSE, and force-display on bookmark apply so freq+bw render atomically instead of the BW bars wiggling from a stale intermediate state. https://claude.ai/code/session_01R2XBFEBL8CrsTx5inu25MA Signed-off-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -388,7 +388,8 @@ async function bmApply(bm) {
|
||||
++_freqOptimisticSeq;
|
||||
_freqOptimisticHz = bm.freq_hz;
|
||||
}
|
||||
applyLocalTunedFrequency(bm.freq_hz);
|
||||
// Force display so the BW overlay is repositioned even when freq is unchanged.
|
||||
applyLocalTunedFrequency(bm.freq_hz, true);
|
||||
}
|
||||
if (typeof scheduleSpectrumDraw === "function" && typeof lastSpectrumData !== "undefined" && lastSpectrumData) {
|
||||
scheduleSpectrumDraw();
|
||||
|
||||
Reference in New Issue
Block a user