mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Call ApplyTransformsAt
on free
This commit is contained in:
parent
4e2f928d65
commit
4c68268d98
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user