mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 10:22:56 +08:00
Remove custom radius implementation
This commit is contained in:
parent
91d877e893
commit
bd82dfc333
@ -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; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user