mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Updated dirty-flag if center is changed
This commit is contained in:
1 parent
f7b945cc65
commit
04c28e2951
1 file changed
+13
-1
@@ -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; }
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user