1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-19 19:33:22 +08:00

Update ``BeatmapInfoWedgeV2.cs` animation to be similar to exit transition in `SongSelect.cs`

This commit is contained in:
mk56-spn 2023-01-30 13:13:57 +01:00
parent 655242371b
commit c7d49bdc82

View File

@ -113,20 +113,18 @@ namespace osu.Game.Screens.Select
starCounter.Children.First().Origin = Anchor.Centre;
}
private const double animation_duration = 800;
private const double animation_duration = 600;
protected override void PopIn()
{
this.MoveToX(0, animation_duration, Easing.OutQuint);
this.RotateTo(0, animation_duration, Easing.OutQuint);
this.FadeIn(transition_duration);
this.FadeIn(200, Easing.In);
}
protected override void PopOut()
{
this.MoveToX(-100, animation_duration, Easing.In);
this.RotateTo(10, animation_duration, Easing.In);
this.FadeOut(transition_duration * 2, Easing.In);
this.MoveToX(-150, animation_duration, Easing.OutQuint);
this.FadeOut(200, Easing.OutQuint);
}
private WorkingBeatmap? beatmap;