fix(icom): needle inertia for the TX meters, and room for three digits
The CI-V meters are point samples: between two SSB syllables a poll lands on 0 W and a perfect SWR, so a 150 W transmission read 0-10 W most of the time and the SWR sat at 1.0. Power now decays like a needle and SWR holds its peak then snaps to the live value — the same meterPeak the Yaesu and Kenwood consoles already use. The readout column also widens so '180 W' stays on one line.
This commit is contained in:
@@ -270,7 +270,7 @@ function Meter({ label, value, accent, scale, onClick, title }: { label: string;
|
||||
<div className="flex-1 h-2.5 rounded-full bg-muted/60 overflow-hidden">
|
||||
<div className="h-full rounded-full transition-[width] duration-150" style={{ width: `${v}%`, background: accent }} />
|
||||
</div>
|
||||
<span className="w-10 text-right text-[11px] font-mono tabular-nums text-muted-foreground">{scale ?? v}</span>
|
||||
<span className="w-14 shrink-0 whitespace-nowrap text-right text-[11px] font-mono tabular-nums text-muted-foreground">{scale ?? v}</span>
|
||||
</>
|
||||
);
|
||||
if (onClick) {
|
||||
|
||||
Reference in New Issue
Block a user