mirror of
https://github.com/osukey/osukey.git
synced 2025-06-28 22:58:10 +09:00
Fix song select backround not being exited in time
This commit is contained in:
parent
31bbefb9a8
commit
ad1bce3585
@ -510,14 +510,17 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
public override bool OnExiting(IScreen next)
|
||||
{
|
||||
if (base.OnExiting(next))
|
||||
return true;
|
||||
|
||||
Logger.Log("Exiting song select!");
|
||||
|
||||
if (ModSelect.State == Visibility.Visible)
|
||||
{
|
||||
ModSelect.Hide();
|
||||
return true;
|
||||
}
|
||||
|
||||
FinaliseSelection(performStartAction: false);
|
||||
|
||||
beatmapInfoWedge.State = Visibility.Hidden;
|
||||
|
||||
this.FadeOut(100);
|
||||
@ -530,7 +533,7 @@ namespace osu.Game.Screens.Select
|
||||
SelectedMods.UnbindAll();
|
||||
Beatmap.Value.Mods.Value = new Mod[] { };
|
||||
|
||||
return base.OnExiting(next);
|
||||
return false;
|
||||
}
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
|
Loading…
x
Reference in New Issue
Block a user