1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20: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)
{
this.AutoSizeAxes = Axes.Y;
this.headerLabel.FadeIn(200);
AutoSizeAxes = Axes.Y;
headerLabel.FadeIn(200);
Show();
}
else
{
this.AutoSizeAxes = Axes.None;
this.headerLabel.FadeOut(200);
this.ResizeHeightTo(0, 200, Easing.OutQuint).OnComplete((c) => Hide());
AutoSizeAxes = Axes.None;
headerLabel.FadeOut(200);
this.ResizeHeightTo(0, 200, Easing.OutQuint).OnComplete(c => Hide());
}
}
}