Merge pull request #9025 from comfyanonymous/v3-definition-wip

V3 update - remove NumberDisplay.color as it does not exist in the frontend at all currently
This commit is contained in:
Jedrzej Kosinski 2025-07-23 14:43:33 -07:00 committed by GitHub
commit c6dcf7afd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -73,7 +73,6 @@ class RemoteOptions:
class NumberDisplay(str, Enum):
number = "number"
slider = "slider"
color = "color"
class _StringIOType(str):

View File

@ -167,7 +167,7 @@ class ImageColorToMask(io.ComfyNodeV3):
category="mask",
inputs=[
io.Image.Input("image"),
io.Int.Input("color", default=0, min=0, max=0xFFFFFF, display_mode=io.NumberDisplay.color),
io.Int.Input("color", default=0, min=0, max=0xFFFFFF),
],
outputs=[io.Mask.Output()],
)