mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-07-27 16:26:39 +00:00
Removed NumberDisplay.color, as it does not exist in the frontend
This commit is contained in:
parent
ce1d30e9c3
commit
b561dfe8b2
@ -73,7 +73,6 @@ class RemoteOptions:
|
||||
class NumberDisplay(str, Enum):
|
||||
number = "number"
|
||||
slider = "slider"
|
||||
color = "color"
|
||||
|
||||
|
||||
class _StringIOType(str):
|
||||
|
@ -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()],
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user