mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-07-29 01:06:28 +00:00
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:
commit
c6dcf7afd9
@ -73,7 +73,6 @@ class RemoteOptions:
|
|||||||
class NumberDisplay(str, Enum):
|
class NumberDisplay(str, Enum):
|
||||||
number = "number"
|
number = "number"
|
||||||
slider = "slider"
|
slider = "slider"
|
||||||
color = "color"
|
|
||||||
|
|
||||||
|
|
||||||
class _StringIOType(str):
|
class _StringIOType(str):
|
||||||
|
@ -167,7 +167,7 @@ class ImageColorToMask(io.ComfyNodeV3):
|
|||||||
category="mask",
|
category="mask",
|
||||||
inputs=[
|
inputs=[
|
||||||
io.Image.Input("image"),
|
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()],
|
outputs=[io.Mask.Output()],
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user