1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2026-01-01 18:23:32 +00:00

Layer effects - Fix clip being applied inverted

This commit is contained in:
SpoinkyNL 2020-06-17 22:16:18 +02:00
parent 75b0ee8151
commit 7921a4f932

View File

@ -65,7 +65,7 @@ namespace Artemis.Core.Models.Profile
foreach (var baseLayerEffect in LayerEffects) foreach (var baseLayerEffect in LayerEffects)
{ {
var effectClip = baseLayerEffect.InternalCreateShapeClip(Path); var effectClip = baseLayerEffect.InternalCreateShapeClip(Path);
shapeClip = shapeClip.Op(effectClip, SKPathOp.Union); shapeClip = shapeClip.Op(effectClip, SKPathOp.Difference);
} }
return shapeClip; return shapeClip;