mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:12:57 +08:00
Fix statistics screen blocking retry, home, and alt f4
This commit is contained in:
parent
4caf4d31d4
commit
daa7430fd8
@ -194,6 +194,13 @@ namespace osu.Game.Screens.Ranking
|
||||
}
|
||||
|
||||
public override bool OnExiting(IScreen next)
|
||||
{
|
||||
Background.FadeTo(1, 250);
|
||||
|
||||
return base.OnExiting(next);
|
||||
}
|
||||
|
||||
public override bool OnBackButton()
|
||||
{
|
||||
if (statisticsPanel.State.Value == Visibility.Visible)
|
||||
{
|
||||
@ -201,9 +208,7 @@ namespace osu.Game.Screens.Ranking
|
||||
return true;
|
||||
}
|
||||
|
||||
Background.FadeTo(1, 250);
|
||||
|
||||
return base.OnExiting(next);
|
||||
return false;
|
||||
}
|
||||
|
||||
private void addScore(ScoreInfo score)
|
||||
|
Loading…
Reference in New Issue
Block a user