mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Data bindings - Fix crash when removing color gradient stops
This commit is contained in:
1 parent
91ad9b7bae
commit
eaa1f15ac3
5 files changed
+27
-2
No files matched your search
@@ -295,7 +295,7 @@ namespace Artemis.UI.Shared
|
||||
{
|
||||
Execute.PostToUIThread(SetupForDevice);
|
||||
}
|
||||
|
||||
|
||||
private void Render()
|
||||
{
|
||||
DrawingContext drawingContext = _backingStore.Open();
|
||||
|
||||
@@ -51,7 +51,6 @@ namespace Artemis.UI.Shared
|
||||
byte g = Led.RgbLed.Color.GetG();
|
||||
byte b = Led.RgbLed.Color.GetB();
|
||||
|
||||
_renderColor.A = (byte) (isDimmed ? 100 : 255);
|
||||
_renderColor.A = isDimmed ? Dimmed : NonDimmed;
|
||||
_renderColor.R = r;
|
||||
_renderColor.G = g;
|
||||
|
||||
Reference in new issue
Block a user