Merge pull request #14510 from peppy/avoid-default-skin-judgement-transform-overhead

Change default skin's judgement result transform to reduce allocation overhead
This commit is contained in:
Dan Balasescu
2021-08-27 10:34:44 +09:00
committed by GitHub

View File

@ -77,7 +77,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
base.PlayAnimation();
if (Result != HitResult.Miss)
JudgementText.TransformSpacingTo(Vector2.Zero).Then().TransformSpacingTo(new Vector2(14, 0), 1800, Easing.OutQuint);
JudgementText.ScaleTo(new Vector2(0.8f, 1)).Then().ScaleTo(new Vector2(1.2f, 1), 1800, Easing.OutQuint);
}
}
}