mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 04:02:59 +08:00
Clear all transforms of catcher trail sprite before returned to pool
This commit is contained in:
parent
88db7823b2
commit
22a5df6309
@ -30,5 +30,11 @@ namespace osu.Game.Rulesets.Catch.UI
|
||||
// Sets the origin roughly to the centre of the catcher's plate to allow for correct scaling.
|
||||
OriginPosition = new Vector2(0.5f, 0.06f) * CatcherArea.CATCHER_SIZE;
|
||||
}
|
||||
|
||||
protected override void FreeAfterUse()
|
||||
{
|
||||
ClearTransforms();
|
||||
base.FreeAfterUse();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user