Invalidate drawnode on change

This commit is contained in:
smoogipoo 2021-04-15 23:37:05 +09:00
parent 4538e4b503
commit 34859a4760
1 changed files with 11 additions and 1 deletions

View File

@ -32,7 +32,17 @@ public class CursorTrail : Drawable, IRequireHighFrequencyMousePosition
private double timeOffset;
private float time;
protected Anchor TrailOrigin = Anchor.Centre;
private Anchor trailOrigin = Anchor.Centre;
protected Anchor TrailOrigin
{
get => trailOrigin;
set
{
trailOrigin = value;
Invalidate(Invalidation.DrawNode);
}
}
public CursorTrail()
{