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

remve unnecessary effect.

This commit is contained in:
為什麼 2019-06-14 11:44:03 +08:00
parent 0db9816321
commit 9114c8dee7

View File

@ -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();
}
}
}