mirror of https://github.com/ppy/osu
Remove custom radius implementation
This commit is contained in:
parent
91d877e893
commit
bd82dfc333
|
@ -24,13 +24,7 @@ public abstract class SmokeSegment : Drawable, ITexturedShaderDrawable
|
|||
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