use io.Color
Some checks failed
Python Linting / Run Ruff (push) Waiting to run
Python Linting / Run Pylint (push) Waiting to run
Build package / Build Test (3.10) (push) Has been cancelled
Build package / Build Test (3.11) (push) Has been cancelled
Build package / Build Test (3.12) (push) Has been cancelled
Build package / Build Test (3.13) (push) Has been cancelled
Build package / Build Test (3.14) (push) Has been cancelled

This commit is contained in:
Terry Jia 2026-03-02 15:22:54 -05:00
parent 9988899a2e
commit 40d991ae83

View File

@ -60,12 +60,7 @@ class PainterNode(io.ComfyNode):
socketless=True, socketless=True,
extra_dict={"hidden": True}, extra_dict={"hidden": True},
), ),
io.String.Input( io.Color.Input("bg_color", default="#000000"),
"bg_color",
default="#000000",
socketless=True,
extra_dict={"hidden": True, "widgetType": "COLOR"},
),
], ],
outputs=[ outputs=[
io.Image.Output("IMAGE"), io.Image.Output("IMAGE"),