1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 11:20:24 +08:00

Fix mods from mod button still visible when revealing background

Closes https://github.com/ppy/osu/issues/34005.
This commit is contained in:
Dean Herbert
2025-07-25 18:33:58 +09:00
Unverified
parent ac9ede8fd8
commit 7ba92c0bcc
+6
View File
@@ -165,12 +165,18 @@ namespace osu.Game.Screens.Footer
protected override void PopIn()
{
buttonsFlow.FadeIn(transition_duration / 4, Easing.OutQuint);
this.MoveToY(0, transition_duration, Easing.OutQuint)
.FadeIn();
}
protected override void PopOut()
{
// Really we shouldn't need to do this, but some buttons protrude vertically more than expected
// (see FooterButtonMods).
buttonsFlow.FadeOut(transition_duration, Easing.OutQuint);
this.MoveToY(ScreenFooterButton.HEIGHT, transition_duration, Easing.OutQuint)
.Then()
.FadeOut();