1
0
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:
Darth Affe 2016-12-17 11:21:29 +01:00
parent 08f8f45026
commit 83d42084d4

View File

@ -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)