Improve comment regarding scale adjust of approach circles

This commit is contained in:
Dean Herbert 2024-02-21 13:44:04 +08:00
parent 86e3b597b4
commit a11a83ac48
No known key found for this signature in database
1 changed files with 3 additions and 2 deletions

View File

@ -25,8 +25,9 @@ private void load(TextureStore textures)
{
Texture = textures.Get(@"Gameplay/osu/approachcircle").WithMaximumSize(OsuHitObject.OBJECT_DIMENSIONS * 2);
// account for the sprite being used for the default approach circle being taken from stable,
// when hitcircles have 5px padding on each size. this should be removed if we update the sprite.
// In triangles and argon skins, we expanded hitcircles to take up the full 128 px which are clickable,
// but still use the old approach circle sprite. To make it feel correct (ie. disappear as it collides
// with the hitcircle, *not when it overlaps the border*) we need to expand it slightly.
Scale = new Vector2(128 / 118f);
}