mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Fixed compile-time error with newer Visual Studio
for some reason this breaks on newer vs / dotnet versions
This commit is contained in:
1 parent
ab0088ed10
commit
ea1633c322
1 file changed
+1
-1
@@ -48,7 +48,7 @@ namespace Artemis.UI.Shared
|
|||||||
byte g = Led.RgbLed.Color.GetG();
|
byte g = Led.RgbLed.Color.GetG();
|
||||||
byte b = Led.RgbLed.Color.GetB();
|
byte b = Led.RgbLed.Color.GetB();
|
||||||
|
|
||||||
_renderColor.A = isDimmed ? 100 : 255;
|
_renderColor.A = (byte)(isDimmed ? 100 : 255);
|
||||||
_renderColor.R = r;
|
_renderColor.R = r;
|
||||||
_renderColor.G = g;
|
_renderColor.G = g;
|
||||||
_renderColor.B = b;
|
_renderColor.B = b;
|
||||||
|
|||||||
Reference in new issue
Block a user