mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +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:
parent
ab0088ed10
commit
ea1633c322
@ -48,7 +48,7 @@ namespace Artemis.UI.Shared
|
||||
byte g = Led.RgbLed.Color.GetG();
|
||||
byte b = Led.RgbLed.Color.GetB();
|
||||
|
||||
_renderColor.A = isDimmed ? 100 : 255;
|
||||
_renderColor.A = (byte)(isDimmed ? 100 : 255);
|
||||
_renderColor.R = r;
|
||||
_renderColor.G = g;
|
||||
_renderColor.B = b;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user