1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 12:22:57 +08:00

Simplify catcher trail creation

This commit is contained in:
ekrctb 2021-06-14 19:46:48 +09:00
parent 9b6ab4360e
commit c094914023
2 changed files with 1 additions and 3 deletions

View File

@ -121,10 +121,7 @@ namespace osu.Game.Rulesets.Catch.UI
CatcherTrailSprite sprite = trailPool.Get();
sprite.AnimationState = catcher.CurrentState;
sprite.Origin = catcher.Origin;
sprite.Scale = catcher.Scale;
sprite.Blending = BlendingParameters.Additive;
sprite.RelativePositionAxes = catcher.RelativePositionAxes;
sprite.Position = catcher.Position;
target.Add(sprite);

View File

@ -20,6 +20,7 @@ namespace osu.Game.Rulesets.Catch.UI
{
Size = new Vector2(CatcherArea.CATCHER_SIZE);
Origin = Anchor.TopCentre;
Blending = BlendingParameters.Additive;
InternalChild = body = new SkinnableCatcher();
}