Panel cleanup: chip padding up a step and a tighter chip line gap, corrected/SNR numbers neutral until amber or red, dB margin casing, compound elapsed units (1m39s) ending the minutes/metres m collision, noise chip shows presence only

This commit is contained in:
flamingcow
2026-08-14 23:47:45 -07:00
parent 9f2b074c4a
commit 6a1a860548
3 changed files with 32 additions and 33 deletions
+4 -4
View File
@@ -45,10 +45,10 @@ func TestScaleTime(t *testing.T) {
in time.Duration
want string
}{
{1500 * time.Millisecond, "1.50 s"},
{90 * time.Second, "1.50 m"},
{90 * time.Minute, "1.50 h"},
{36 * time.Hour, "1.50 d"},
{1500 * time.Millisecond, "1s"},
{90 * time.Second, "1m30s"},
{90 * time.Minute, "1h30m"},
{36 * time.Hour, "1d12h"},
} {
if got := scaleTime(c.in); got != c.want {
t.Errorf("scaleTime(%v) = %q, want %q", c.in, got, c.want)