mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Fixed bug in the ambilight-layer-type causing it to stop working after changing profiles
This commit is contained in:
parent
08f8f45026
commit
83d42084d4
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user