1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:18:22 +08:00

Ensure flowing animation starts correctly from zero

This commit is contained in:
Dean Herbert 2022-11-15 11:33:19 +09:00
parent aef6ee23eb
commit 59a8603728

View File

@ -169,7 +169,9 @@ namespace osu.Game.Screens.Play.HUD.HitErrorMeters
IsRemoved = false;
this.FadeIn();
this.FadeIn()
// On pool re-use, start flow animation from (0,0).
.MoveTo(Vector2.Zero);
content.FadeInFromZero(animation_duration, Easing.OutQuint)
.MoveToY(-DrawSize.Y)