diff --git a/Code/Main/InterpolateUtils.cs b/Code/Main/InterpolateUtils.cs index 7ad7b6d..56490a6 100644 --- a/Code/Main/InterpolateUtils.cs +++ b/Code/Main/InterpolateUtils.cs @@ -319,8 +319,6 @@ namespace Flowframes.Main public static void FixConsecutiveSceneFrames (string sceneFramesPath, string sourceFramesPath) { - Stopwatch sw = new Stopwatch(); - List sceneFrames = IOUtils.GetFilesSorted(sceneFramesPath).Select(x => Path.GetFileNameWithoutExtension(x)).ToList(); List sourceFrames = IOUtils.GetFilesSorted(sourceFramesPath).Select(x => Path.GetFileNameWithoutExtension(x)).ToList(); List sceneFramesToDelete = new List(); @@ -339,8 +337,6 @@ namespace Flowframes.Main foreach (string frame in sceneFramesToDelete) IOUtils.TryDeleteIfExists(Path.Combine(sceneFramesPath, frame + ".png")); - - Logger.Log("Ran FixConsecutiveSceneFrames in " + FormatUtils.Time(sw.Elapsed)); } } } diff --git a/Code/UI/FormatUtils.cs b/Code/UI/FormatUtils.cs index f54a3e3..4b34b21 100644 --- a/Code/UI/FormatUtils.cs +++ b/Code/UI/FormatUtils.cs @@ -45,7 +45,7 @@ namespace Flowframes.UI if (span.TotalSeconds >= 1f || !allowMs) return span.ToString(@"ss") + "s"; - return span.ToString(@"fff") + "ms"; + return span.ToString(@"fff").TrimStart('0').PadLeft(1, '0') + "ms"; } public static string TimeSw(Stopwatch sw)