mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 02:09:52 +08:00
Fix statistics screen blocking retry, home, and alt f4
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user