mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Updated dirty-flag if center is changed
This commit is contained in:
parent
f7b945cc65
commit
04c28e2951
@ -43,7 +43,19 @@ namespace Artemis.Profiles.Layers.Types.AngularBrush.Drawing
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public PointF Center { get; set; } = new PointF(0.5f, 0.5f);
|
private PointF _center = new PointF(0.5f, 0.5f);
|
||||||
|
public PointF Center
|
||||||
|
{
|
||||||
|
get { return _center; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (_center != value)
|
||||||
|
{
|
||||||
|
_center = value;
|
||||||
|
_isDirty = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public Brush Brush { get; private set; }
|
public Brush Brush { get; private set; }
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user