mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Fixed bug in the ambilight-layer-type causing it to stop working after changing profiles
This commit is contained in:
1 parent
1e71dc6775
commit
c470a5c6ce
1 file changed
+2
@@ -70,6 +70,8 @@ namespace Artemis.Profiles.Layers.Types.AmbientLight
|
||||
properties.AmbientLightBrush = new DrawingBrush(new ImageDrawing
|
||||
(BitmapSource.Create(width, height, 96, 96, ScreenCaptureManager.LastCapturePixelFormat, null, _lastData,
|
||||
stride), new Rect(0, 0, width, height)));
|
||||
|
||||
layerModel.ApplyProperties(true);
|
||||
}
|
||||
|
||||
public void Draw(LayerModel layerModel, DrawingContext c)
|
||||
|
||||
Reference in new issue
Block a user