Browse Source

Fix Modify Image outputting a black image

CPKreuz 1 year ago
parent
commit
c591859dab

+ 1 - 1
src/PixiEditor.ChangeableDocument/Changeables/Graph/Nodes/ModifyImageRightNode.cs

@@ -21,7 +21,7 @@ public class ModifyImageRightNode : Node
     public ModifyImageRightNode(ModifyImageLeftNode startNode)
     {
         this.startNode = startNode;
-        Color = CreateFieldInput(nameof(Color), "COLOR", _ => new Color(0, 0, 0, 255));
+        Color = CreateFieldInput(nameof(Color), "COLOR", _ => new Color(0, 0, 0, 0));
         Output = CreateOutput<Image>(nameof(Output), "OUTPUT", null);
     }