[fix](trx-frontend-http): make bandplan strip visible for all rig types
Move the bandplan strip out of the SDR-only spectrum panel into the always-visible signal-visual-block. Add bandplanComputeRange() that derives a frequency range from the current tuned frequency and band edges when no spectrum data is available (non-SDR rigs). Trigger bandplan updates on frequency changes and from the overview draw loop. https://claude.ai/code/session_01AyBktp6b8qFjchyyqwL7dv Signed-off-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -113,9 +113,9 @@
|
||||
<div id="hf-aprs-bar-overlay" aria-live="polite" aria-label="Recent HF APRS frames"></div>
|
||||
<div id="cw-bar-overlay" aria-live="polite" aria-label="Recent CW decodes"></div>
|
||||
</div>
|
||||
<div id="spectrum-bandplan-strip" aria-label="Band plan allocations"></div>
|
||||
<div id="spectrum-panel" style="display:none;">
|
||||
<div class="spectrum-wrap">
|
||||
<div id="spectrum-bandplan-strip" aria-label="Band plan allocations"></div>
|
||||
<div id="spectrum-bookmark-axis"></div>
|
||||
<div id="spectrum-bookmark-side-left" class="spectrum-bookmark-side spectrum-bookmark-side-left" aria-hidden="true"></div>
|
||||
<canvas id="spectrum-canvas"></canvas>
|
||||
|
||||
Reference in New Issue
Block a user