mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 07:32:55 +08:00
remve unnecessary effect.
This commit is contained in:
parent
0db9816321
commit
9114c8dee7
@ -55,15 +55,13 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
if (expand)
|
||||
{
|
||||
AutoSizeAxes = Axes.Y;
|
||||
headerLabel.FadeIn(200);
|
||||
Show();
|
||||
}
|
||||
else
|
||||
{
|
||||
AutoSizeAxes = Axes.None;
|
||||
headerLabel.FadeOut(200);
|
||||
this.ResizeHeightTo(0, 200, Easing.OutQuint).OnComplete(c => Hide());
|
||||
Hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user