unbreak timing notices
This commit is contained in:
1 parent
25917f5b44
commit
705461e9e4
6 files changed
+10
-15
No files matched your search
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
-2
@@ -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",
|
||||
_ => "",
|
||||
|
||||
Reference in new issue
Block a user