mirror of
https://github.com/ppy/osu
synced 2025-01-02 20:32:10 +00:00
Fix ModDisplay
expanding on load with "always contracted/expanded" modes
This is especially visible when reloading `SongSelectFooterV2` while multiple mods are already selected. The mods will appear expanded then contract.
This commit is contained in:
parent
d7b658ec76
commit
49692e168e
@ -60,6 +60,9 @@ namespace osu.Game.Screens.Play.HUD
|
||||
Current.BindValueChanged(updateDisplay, true);
|
||||
|
||||
iconsContainer.FadeInFromZero(fade_duration, Easing.OutQuint);
|
||||
|
||||
if (ExpansionMode == ExpansionMode.AlwaysExpanded || ExpansionMode == ExpansionMode.AlwaysContracted)
|
||||
FinishTransforms(true);
|
||||
}
|
||||
|
||||
private void updateDisplay(ValueChangedEvent<IReadOnlyList<Mod>> mods)
|
||||
|
Loading…
Reference in New Issue
Block a user