Skip to content

Commit 1929d8b

Browse files
committed
Change default crop option to "center" on Resize Image/Mask node
1 parent a54faaa commit 1929d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy_extras/nodes_post_processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ class ResizeTypedDict(TypedDict):
381381
@classmethod
382382
def define_schema(cls):
383383
template = io.MatchType.Template("input_type", [io.Image, io.Mask])
384-
crop_combo = io.Combo.Input("crop", options=cls.crop_methods)
384+
crop_combo = io.Combo.Input("crop", options=cls.crop_methods, default="center")
385385
return io.Schema(
386386
node_id="ResizeImageMaskNode",
387387
display_name="Resize Image/Mask",

0 commit comments

Comments
 (0)