mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 04:13:00 +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)
|
public override bool OnExiting(IScreen next)
|
||||||
|
{
|
||||||
|
Background.FadeTo(1, 250);
|
||||||
|
|
||||||
|
return base.OnExiting(next);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnBackButton()
|
||||||
{
|
{
|
||||||
if (statisticsPanel.State.Value == Visibility.Visible)
|
if (statisticsPanel.State.Value == Visibility.Visible)
|
||||||
{
|
{
|
||||||
@ -201,9 +208,7 @@ namespace osu.Game.Screens.Ranking
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Background.FadeTo(1, 250);
|
return false;
|
||||||
|
|
||||||
return base.OnExiting(next);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addScore(ScoreInfo score)
|
private void addScore(ScoreInfo score)
|
||||||
|
Loading…
Reference in New Issue
Block a user