fix: 🐛 add missing widgetTypes for COLOR
This commit is contained in:
+4
-4
@@ -335,9 +335,9 @@ class MTB_BatchShape:
|
||||
"image_width": ("INT", {"default": 512}),
|
||||
"image_height": ("INT", {"default": 512}),
|
||||
"shape_size": ("INT", {"default": 100}),
|
||||
"color": ("COLOR", {"default": "#ffffff"}),
|
||||
"bg_color": ("COLOR", {"default": "#000000"}),
|
||||
"shade_color": ("COLOR", {"default": "#000000"}),
|
||||
"color": ("COLOR", {"default": "#ffffff","widgetType": "MTB_COLOR"}),
|
||||
"bg_color": ("COLOR", {"default": "#000000","widgetType": "MTB_COLOR"}),
|
||||
"shade_color": ("COLOR", {"default": "#000000","widgetType": "MTB_COLOR"}),
|
||||
"thickness": ("INT", {"default": 5}),
|
||||
"shadex": ("FLOAT", {"default": 0.0}),
|
||||
"shadey": ("FLOAT", {"default": 0.0}),
|
||||
@@ -842,7 +842,7 @@ class MTB_Batch2dTransform:
|
||||
["edge", "constant", "reflect", "symmetric"],
|
||||
{"default": "edge"},
|
||||
),
|
||||
"constant_color": ("COLOR", {"default": "#000000"}),
|
||||
"constant_color": ("COLOR", {"default": "#000000","widgetType": "MTB_COLOR"}),
|
||||
},
|
||||
"optional": {
|
||||
"x": ("FLOATS",),
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ class MTB_ImageRemoveBackgroundRembg:
|
||||
),
|
||||
"bgcolor": (
|
||||
"COLOR",
|
||||
{"default": "#000000"},
|
||||
{"default": "#000000","widgetType": "MTB_COLOR"},
|
||||
),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user