diff --git a/public/Nitrocid.Addons/Nitrocid.Extras.Timers/Timers/StopwatchScreen.cs b/public/Nitrocid.Addons/Nitrocid.Extras.Timers/Timers/StopwatchScreen.cs index 73bb1dc826..4d6fff24b9 100644 --- a/public/Nitrocid.Addons/Nitrocid.Extras.Timers/Timers/StopwatchScreen.cs +++ b/public/Nitrocid.Addons/Nitrocid.Extras.Timers/Timers/StopwatchScreen.cs @@ -56,7 +56,6 @@ public static void OpenStopwatch() ScreenTools.SetCurrent(watchScreen); ColorTools.LoadBack(); string status = Translate.DoTranslation("Stopwatch is ready."); - bool resetting = false; // Set the random lap color int RedValue = RandomDriver.Random(255); @@ -68,11 +67,6 @@ public static void OpenStopwatch() watchScreenPart.AddDynamicText(() => { // If resized, clear the console - if (resetting || ConsoleResizeHandler.WasResized()) - { - resetting = false; - ColorTools.LoadBack(); - } ConsoleWrapper.CursorVisible = false; var builder = new StringBuilder(); @@ -192,7 +186,7 @@ public static void OpenStopwatch() if (Stopwatch.IsRunning) Stopwatch.Reset(); running = false; - resetting = true; + watchScreen.RequireRefresh(); // Clear the laps Laps.Clear();