mirror of https://github.com/ppy/osu
Invalidate drawnode on change
This commit is contained in:
parent
4538e4b503
commit
34859a4760
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue