mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-09-01 19:51:28 +02:00
Better code for config defaults
This commit is contained in:
@@ -42,10 +42,10 @@ namespace Flowframes.UI
|
||||
if (span.TotalMinutes >= 1f)
|
||||
return span.ToString(@"mm\:ss");
|
||||
|
||||
if (span.TotalSeconds >= 3f)
|
||||
if (span.TotalSeconds >= 2f)
|
||||
return span.ToString(@"ss") + "s";
|
||||
|
||||
return span.Milliseconds.ToString() + "ms";
|
||||
return span.Milliseconds + "ms";
|
||||
}
|
||||
|
||||
public static string TimeSw(Stopwatch sw)
|
||||
|
||||
Reference in New Issue
Block a user