1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +08:00

Restrict followpoint size

See https://github.com/ppy/osu/issues/24940#issuecomment-1760980461.
This commit is contained in:
Dean Herbert 2023-10-13 15:42:49 +09:00
parent 7c36848eb1
commit 17df2fdf01
No known key found for this signature in database

View File

@ -46,7 +46,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
switch (osuComponent.Component)
{
case OsuSkinComponents.FollowPoint:
return this.GetAnimation("followpoint", true, true, true, startAtCurrentTime: false);
return this.GetAnimation("followpoint", true, true, true, startAtCurrentTime: false, maxSize: new Vector2(OsuHitObject.OBJECT_RADIUS * 2, OsuHitObject.OBJECT_RADIUS));
case OsuSkinComponents.SliderScorePoint:
return this.GetAnimation("sliderscorepoint", false, false);