mirror of
https://github.com/ppy/osu.git
synced 2025-02-07 13:42:56 +08:00
Added windows title. Game can be exited now.
This commit is contained in:
parent
9b57c53976
commit
7bf8059df8
Binary file not shown.
@ -264,6 +264,9 @@ namespace osu.Game.GameModes.Menu
|
||||
{
|
||||
//if (OsuGame.IdleTime > 6000 && State != MenuState.Exit)
|
||||
// State = MenuState.Initial;
|
||||
|
||||
if (state == MenuState.Exit && osuLogo.Alpha <= 0)
|
||||
System.Environment.Exit(1);
|
||||
|
||||
iconFacade.Width = osuLogo.SizeForFlow * 0.5f;
|
||||
base.Update();
|
||||
|
@ -23,6 +23,8 @@ namespace osu.Game
|
||||
Window.Size = new Size(Config.Get<int>(OsuConfig.Width), Config.Get<int>(OsuConfig.Height));
|
||||
Window.OnSizeChanged += window_OnSizeChanged;
|
||||
|
||||
Window.Title = "osu!";
|
||||
|
||||
AddProcessingContainer(new RatioAdjust());
|
||||
|
||||
//Add(new FontTest());
|
||||
|
Loading…
Reference in New Issue
Block a user