Merge pull request #95 from DarthAffe/Fix/IncorrectDeviceRect

Fixed AbtractRGBDevice not updating DeviceRectangle on Location change
This commit is contained in:
DarthAffe authored and GitHub committed 2019-12-11 21:31:20 +01:00
commit cd45fdfb99
1 file changed
+5 -1
+5 -1
View File
@@ -32,7 +32,11 @@ namespace RGB.NET.Core
public Point Location public Point Location
{ {
get => _location; get => _location;
set => SetProperty(ref _location, value); set
{
if (SetProperty(ref _location, value))
UpdateActualData();
}
} }
private Size _size = Size.Invalid; private Size _size = Size.Invalid;