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

Fixed AbtractRGBDevice not updating DeviceRectangle on Location change

This commit is contained in:
Robert 2019-12-11 09:51:21 +01:00
parent 0a378b3424
commit 4d5728a8be

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;