1
0
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:
Darth Affe 2017-01-14 23:23:10 +01:00
parent f7b945cc65
commit 04c28e2951

View File

@ -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; }