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:
parent
87f9e46b16
commit
1d3dff8c75
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user