mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +09:00
Transform adjustments
This commit is contained in:
parent
7a3afbd0b1
commit
76b79f3554
@ -42,7 +42,8 @@ namespace osu.Game.Screens.Select.Details
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.X,
|
||||||
|
Height = height,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new OsuSpriteText
|
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 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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user