1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-12 17:48:31 +00:00

Merge pull request #95 from DarthAffe/Fix/IncorrectDeviceRect

Fixed AbtractRGBDevice not updating DeviceRectangle on Location change
This commit is contained in:
DarthAffe 2019-12-11 21:31:20 +01:00 committed by GitHub
commit cd45fdfb99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,11 @@ namespace RGB.NET.Core
public Point Location
{
get => _location;
set => SetProperty(ref _location, value);
set
{
if (SetProperty(ref _location, value))
UpdateActualData();
}
}
private Size _size = Size.Invalid;