mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01: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
|
||||
unrankedText.Hide();
|
||||
|
||||
if (ExpandOnAppear)
|
||||
{
|
||||
expand();
|
||||
using (iconsContainer.BeginDelayedSequence(1200))
|
||||
contract();
|
||||
}
|
||||
else
|
||||
iconsContainer.TransformSpacingTo(new Vector2(-25, 0));
|
||||
expand();
|
||||
|
||||
using (iconsContainer.BeginDelayedSequence(ExpandOnAppear ? 1200 : 0))
|
||||
contract();
|
||||
}
|
||||
|
||||
private void expand()
|
||||
|
Loading…
Reference in New Issue
Block a user