Skip to content

Commit

Permalink
imp - Made closing splashes resizable
Browse files Browse the repository at this point in the history
---

The closing splashes have now earned the ability to respond to resizes.

---

Type: imp
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Feb 29, 2024
1 parent 3f21b78 commit bc91028
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/Nitrocid/Misc/Splash/SplashManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -284,14 +284,14 @@ internal static void CloseSplash(ISplash splash, bool showClosing, SplashContext
// screen is closing.
splash.SplashClosing = false;

// Reset the state
SplashReport._InSplash = false;
ScreenTools.UnsetCurrent(splashScreen);

// Wait for 3 seconds
if (delay)
Thread.Sleep(3000);

// Reset the state
SplashReport._InSplash = false;
ScreenTools.UnsetCurrent(splashScreen);

// Reset the cursor visibility
ConsoleWrapper.CursorVisible = true;
}
Expand Down

0 comments on commit bc91028

Please sign in to comment.