1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 14:02:55 +08:00

Refactor ModDisplay flag usage

This commit is contained in:
smoogipoo 2021-02-02 13:41:01 +09:00
parent 87f9e46b16
commit 1d3dff8c75

View File

@ -113,14 +113,10 @@ namespace osu.Game.Screens.Play.HUD
else else
unrankedText.Hide(); unrankedText.Hide();
if (ExpandOnAppear) expand();
{
expand(); using (iconsContainer.BeginDelayedSequence(ExpandOnAppear ? 1200 : 0))
using (iconsContainer.BeginDelayedSequence(1200)) contract();
contract();
}
else
iconsContainer.TransformSpacingTo(new Vector2(-25, 0));
} }
private void expand() private void expand()