mirror of
https://github.com/ppy/osu.git
synced 2026-06-04 13:44:26 +08:00
Refactor ModDisplay flag usage
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user