mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:12:57 +08:00
Fix ModSelectOverlay
not hiding without a footer
This commit is contained in:
parent
337f05f9a4
commit
669e945fc3
@ -604,7 +604,13 @@ namespace osu.Game.Overlays.Mods
|
|||||||
|
|
||||||
return base.OnPressed(e);
|
return base.OnPressed(e);
|
||||||
|
|
||||||
void hideOverlay() => footer?.BackButton.TriggerClick();
|
void hideOverlay()
|
||||||
|
{
|
||||||
|
if (footer != null)
|
||||||
|
footer.BackButton.TriggerClick();
|
||||||
|
else
|
||||||
|
Hide();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IKeyBindingHandler{PlatformAction}"/>
|
/// <inheritdoc cref="IKeyBindingHandler{PlatformAction}"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user