1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:47:28 +08:00

Limit sliderscorepoint to hitcicle dimensions

You'd never use anything above this unless crazy.
This commit is contained in:
Dean Herbert 2023-10-13 15:43:18 +09:00
parent 17df2fdf01
commit 0b64852181
No known key found for this signature in database

View File

@ -49,7 +49,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
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);
return this.GetAnimation("sliderscorepoint", false, false, maxSize: OsuHitObject.OBJECT_DIMENSIONS);
case OsuSkinComponents.SliderFollowCircle:
var followCircleContent = this.GetAnimation("sliderfollowcircle", true, true, true, maxSize: MAX_FOLLOW_CIRCLE_AREA_SIZE);