1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 20:05:29 +08:00

Remove custom radius implementation

This commit is contained in:
Dean Herbert 2022-10-05 18:53:07 +09:00
parent 91d877e893
commit bd82dfc333

View File

@ -24,13 +24,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
public IShader? TextureShader { get; private set; }
public IShader? RoundedTextureShader { get; private set; }
private float? radius;
protected float Radius
{
get => radius ?? Texture?.DisplayWidth * 0.165f ?? 3;
set => radius = value;
}
protected float Radius => Texture?.DisplayWidth * 0.165f ?? 3;
protected Texture? Texture { get; set; }