mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-10 20:46:24 +00:00
Added custom shapes for leds
This commit is contained in:
1 parent
256c6dea74
commit
cf3bbd547c
5 files changed
+72
-5
No files matched your search
@@ -87,6 +87,7 @@ namespace RGB.NET.Devices.Corsair
|
||||
led.LedRectangle.Size.Height = layoutLed.Height;
|
||||
|
||||
led.Shape = layoutLed.Shape;
|
||||
led.ShapeData = layoutLed.ShapeData;
|
||||
|
||||
LedImage image = ledImageLayout?.LedImages.FirstOrDefault(x => x.Id == layoutLed.Id);
|
||||
led.Image = (!string.IsNullOrEmpty(image?.Image))
|
||||
|
||||
Reference in new issue
Block a user