mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-02 20:22:08 +00:00
fix: align BOUNDING_BOX type with backend and target ImageCropV2 node (#8531)
## Summary - Update imageCrop extension to target new ImageCropV2 comfyClass - Fix BOUNDING_BOX io_type mismatch (was BOUNDINGBOX, backend sends BOUNDING_BOX) - Keep old ImageCrop node_id unchanged for backward compatibility BE Changes is https://github.com/Comfy-Org/ComfyUI/pull/11594 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8531-fix-align-BOUNDING_BOX-type-with-backend-and-target-ImageCropV2-node-2fa6d73d36508160a06ad06108b8a15e) by [Unito](https://www.unito.io)
This commit is contained in:
@@ -65,7 +65,7 @@ const zImageCompareInputSpec = zBaseInputOptions.extend({
|
||||
})
|
||||
|
||||
const zBoundingBoxInputSpec = zBaseInputOptions.extend({
|
||||
type: z.literal('BOUNDINGBOX'),
|
||||
type: z.literal('BOUNDING_BOX'),
|
||||
name: z.string(),
|
||||
isOptional: z.boolean().optional(),
|
||||
component: z.enum(['ImageCrop']).optional(),
|
||||
|
||||
Reference in New Issue
Block a user