mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 21:02:59 +08:00
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:
commit
8e57547ec3
@ -77,7 +77,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
base.PlayAnimation();
|
base.PlayAnimation();
|
||||||
|
|
||||||
if (Result != HitResult.Miss)
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user