From 7ba92c0bccf7fcd0f52c62cd918429e080be687c Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 25 Jul 2025 18:33:58 +0900 Subject: [PATCH] Fix mods from mod button still visible when revealing background Closes https://github.com/ppy/osu/issues/34005. --- osu.Game/Screens/Footer/ScreenFooter.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/osu.Game/Screens/Footer/ScreenFooter.cs b/osu.Game/Screens/Footer/ScreenFooter.cs index 6d7a32d57a..777ec1790c 100644 --- a/osu.Game/Screens/Footer/ScreenFooter.cs +++ b/osu.Game/Screens/Footer/ScreenFooter.cs @@ -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();