And another invalidate

This commit is contained in:
Dan Balasescu 2022-09-20 21:01:18 +09:00
parent 102c140967
commit 3ec16063bd
1 changed files with 1 additions and 8 deletions

View File

@ -30,14 +30,7 @@ public abstract class Smoke : Drawable, ITexturedShaderDrawable
protected float Radius
{
get => radius ?? Texture?.DisplayWidth * 0.165f ?? 3;
set
{
if (radius == value)
return;
radius = value;
Invalidate(Invalidation.DrawNode);
}
set => radius = value;
}
protected Texture? Texture { get; set; }