1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Merge pull request #723 from skettios/master

Fix ModSelectOverlay accepting escape when it shouldn't
This commit is contained in:
Dean Herbert 2017-05-06 10:21:11 +09:00 committed by GitHub
commit 91ad0cb75e

View File

@ -69,6 +69,13 @@ namespace osu.Game.Screens.Select
base.OnResuming(last);
}
protected override void OnSuspending(Screen next)
{
modSelect.Hide();
base.OnSuspending(next);
}
protected override bool OnExiting(Screen next)
{
if (modSelect.State == Visibility.Visible)