unbreak timing notices

This commit is contained in:
ntr committed 2023-09-19 13:34:53 +10:00
1 parent 25917f5b44
commit 705461e9e4
6 files changed
+10 -15

No files matched your search

Binary file not shown.
LFS Regular → Executable
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -29,7 +29,7 @@ public class TimingNotice {
public Label ToLabel() {
Label l = Category switch {
NoticeCategory.Initial => new Label($"{TimeSpan.FromSeconds(Seconds):m\\:ss\\.fff}"),
NoticeCategory.Slower => new Label($"-{Seconds:0.000}"),
NoticeCategory.Slower => new Label($"+{Seconds:0.000}"),
NoticeCategory.Faster => new Label($"-{Seconds:0.000}"),
NoticeCategory.Fastest => new Label($"-{Seconds:0.000}"),
_ => new Label($"-{Seconds:0.000}"),
@@ -37,7 +37,7 @@ public class TimingNotice {
string colourClass = Category switch {
NoticeCategory.Initial => "",
NoticeCategory.Slower => "green",
NoticeCategory.Slower => "yellow",
NoticeCategory.Faster => "green",
NoticeCategory.Fastest => "purple",
_ => "",