diff --git a/src/Artemis.Core/Models/Profile/Layer.cs b/src/Artemis.Core/Models/Profile/Layer.cs index 45c973df9..8e0e66ab2 100644 --- a/src/Artemis.Core/Models/Profile/Layer.cs +++ b/src/Artemis.Core/Models/Profile/Layer.cs @@ -388,14 +388,14 @@ namespace Artemis.Core else if (General.ResizeMode.CurrentValue == LayerResizeMode.Clip) ClipRender(layerCanvas, _layerBitmap.Info, layerPaint, layerPath); + using SKPaint canvasPaint = new SKPaint { BlendMode = General.BlendMode.CurrentValue }; foreach (BaseLayerEffect baseLayerEffect in LayerEffects.Where(e => e.Enabled)) - baseLayerEffect.PostProcess(layerCanvas, _layerBitmap.Info, layerPath, layerPaint); + baseLayerEffect.PostProcess(layerCanvas, _layerBitmap.Info, layerPath, canvasPaint); SKPoint targetLocation = new SKPoint(0, 0); if (Parent is Folder parentFolder) targetLocation = Path.Bounds.Location - parentFolder.Path.Bounds.Location; - using SKPaint canvasPaint = new SKPaint {BlendMode = General.BlendMode.CurrentValue}; using SKPath canvasPath = new SKPath(Path); canvasPath.Transform(SKMatrix.MakeTranslation( (canvasPath.Bounds.Left - targetLocation.X) * -1, diff --git a/src/Artemis.UI/Screens/ProfileEditor/LayerProperties/Tree/TreeGroupView.xaml b/src/Artemis.UI/Screens/ProfileEditor/LayerProperties/Tree/TreeGroupView.xaml index 9a9a9d2a7..9e4ce273f 100644 --- a/src/Artemis.UI/Screens/ProfileEditor/LayerProperties/Tree/TreeGroupView.xaml +++ b/src/Artemis.UI/Screens/ProfileEditor/LayerProperties/Tree/TreeGroupView.xaml @@ -227,7 +227,8 @@ + HorizontalContentAlignment="Stretch" + dd:DragDrop.DragSourceIgnore="True">