Added custom shapes for leds

This commit is contained in:
DarthAffe committed 2017-02-11 10:24:15 +01:00
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))