Removed byte-component from color

This commit is contained in:
DarthAffe committed 2019-02-25 20:57:01 +01:00
1 parent 558eb3eb5a
commit fa396127ea
15 files changed
+241 -256

No files matched your search

@@ -56,9 +56,9 @@ namespace RGB.NET.Devices.Logitech
{
int zone = (int)data.Key;
_LogitechGSDK.LogiLedSetLightingForTargetZone(_deviceType, zone,
(int)Math.Round(data.Value.RPercent * 100),
(int)Math.Round(data.Value.GPercent * 100),
(int)Math.Round(data.Value.BPercent * 100));
(int)Math.Round(data.Value.R * 100),
(int)Math.Round(data.Value.G * 100),
(int)Math.Round(data.Value.B * 100));
}
}