mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:12:56 +08:00
Invalidate drawnode on change
This commit is contained in:
parent
4538e4b503
commit
34859a4760
@ -32,7 +32,17 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
|
||||
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
Block a user