Motivation
Some readouts show a variable number of digits with no leading zeros — e.g. the AN/ARC-51A preset-channel window (#171) displays 1..9 as a single digit and 10..20 as two. Today DrumDisplay always renders the full nDigits width, so a 2-digit readout would show 01 instead of 1.
Proposal
Add a per-readout option to DrumReadout:
bool suppressLeadingZero — default false (no behavior change for existing readouts: APN-153 speed, ASN-41 nav digits, etc.).
- When
true: blank the high-order digit cells until the first non-zero digit. The remaining digits still roll/animate normally (animation unchanged).
Scope
Consumers
Out of scope
Render-mode / snap-vs-animate (animation stays as-is per maintainer). This ticket is leading-zero only.
Motivation
Some readouts show a variable number of digits with no leading zeros — e.g. the AN/ARC-51A preset-channel window (#171) displays
1..9as a single digit and10..20as two. TodayDrumDisplayalways renders the fullnDigitswidth, so a 2-digit readout would show01instead of1.Proposal
Add a per-readout option to
DrumReadout:bool suppressLeadingZero— defaultfalse(no behavior change for existing readouts: APN-153 speed, ASN-41 nav digits, etc.).true: blank the high-order digit cells until the first non-zero digit. The remaining digits still roll/animate normally (animation unchanged).Scope
suppressLeadingZerofield onDrumReadout(default false).9→10→9) renders without a leading zero; default-false path unchanged.Consumers
true. ARC-51 B1 is blocked on this for the channel readout.Out of scope
Render-mode / snap-vs-animate (animation stays as-is per maintainer). This ticket is leading-zero only.