1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 21:27:24 +08:00

Call ApplyTransformsAt on free

This commit is contained in:
ekrctb 2021-07-31 08:31:08 +09:00
parent 4e2f928d65
commit 4c68268d98

View File

@ -31,9 +31,8 @@ namespace osu.Game.Rulesets.Catch.UI
protected override void OnApply(CatcherTrailEntry entry)
{
Scale = entry.Scale;
Position = new Vector2(entry.Position, 0);
Alpha = 1;
Scale = entry.Scale;
body.AnimationState.Value = entry.CatcherState;
@ -43,6 +42,7 @@ namespace osu.Game.Rulesets.Catch.UI
protected override void OnFree(CatcherTrailEntry entry)
{
ApplyTransformsAt(double.MinValue);
ClearTransforms();
}