mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:32:55 +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.
|
// 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;
|
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