This commit is contained in:
為什麼 2019-06-14 11:12:30 +08:00
parent 3a14794c43
commit c30e467717
1 changed files with 5 additions and 5 deletions

View File

@ -55,15 +55,15 @@ public IEnumerable<Mod> 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());
}
}
}