1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 13:22:55 +08:00
This commit is contained in:
為什麼 2019-06-14 11:12:30 +08:00
parent 3a14794c43
commit c30e467717

View File

@ -55,15 +55,15 @@ namespace osu.Game.Overlays.Mods
if (expanded) if (expanded)
{ {
this.AutoSizeAxes = Axes.Y; AutoSizeAxes = Axes.Y;
this.headerLabel.FadeIn(200); headerLabel.FadeIn(200);
Show(); Show();
} }
else else
{ {
this.AutoSizeAxes = Axes.None; AutoSizeAxes = Axes.None;
this.headerLabel.FadeOut(200); headerLabel.FadeOut(200);
this.ResizeHeightTo(0, 200, Easing.OutQuint).OnComplete((c) => Hide()); this.ResizeHeightTo(0, 200, Easing.OutQuint).OnComplete(c => Hide());
} }
} }
} }