Better code for config defaults

This commit is contained in:
N00MKRAD
2020-11-27 09:45:06 +01:00
parent c1caa7bb77
commit 64d1d040ef
6 changed files with 38 additions and 40 deletions

View File

@@ -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)