Transform adjustments

This commit is contained in:
Andrei Zavatski 2019-07-23 01:14:45 +03:00
parent 7a3afbd0b1
commit 76b79f3554

View File

@ -42,7 +42,8 @@ namespace osu.Game.Screens.Select.Details
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
RelativeSizeAxes = Axes.Both,
RelativeSizeAxes = Axes.X,
Height = height,
Children = new Drawable[]
{
new OsuSpriteText
@ -94,6 +95,10 @@ namespace osu.Game.Screens.Select.Details
protected override void PopIn() => this.ResizeHeightTo(height, duration / 4f, Easing.OutQuint).OnComplete(_ => contentContainer.FadeIn(duration, Easing.OutQuint));
protected override void PopOut() => contentContainer.FadeOut(duration, Easing.OutQuint).OnComplete(_ => this.ResizeHeightTo(0));
protected override void PopOut()
{
this.ResizeHeightTo(0);
contentContainer.FadeOut(duration / 4f, Easing.OutQuint);
}
}
}