mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 04:42:58 +08:00
Fix animation restarting unexpectedly
This commit is contained in:
parent
21f26f98da
commit
1d62a041cc
@ -330,9 +330,6 @@ namespace osu.Game.Screens.Ranking.Statistics
|
||||
|
||||
var box = boxOriginals[i];
|
||||
|
||||
box.Y = 0;
|
||||
box.Height = 0;
|
||||
|
||||
box.MoveToY(offsetForValue(offsetValue) * BoundingBox.Height, duration, Easing.OutQuint);
|
||||
box.ResizeHeightTo(heightForValue(value), duration, Easing.OutQuint);
|
||||
offsetValue -= value;
|
||||
|
Loading…
Reference in New Issue
Block a user