mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
[backport cloud/1.36] fix: prevent image preview resize issues when switching to vueNodes mode (#7997)
Backport of #7868 to `cloud/1.36` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7997-backport-cloud-1-36-fix-prevent-image-preview-resize-issues-when-switching-to-vueNodes-2e76d73d36508164be55fceba35aa0d8) by [Unito](https://www.unito.io) Co-authored-by: Terry Jia <terryjia88@gmail.com>
This commit is contained in:
@@ -368,7 +368,8 @@ export const useImagePreviewWidget = () => {
|
|||||||
) => {
|
) => {
|
||||||
return node.addCustomWidget(
|
return node.addCustomWidget(
|
||||||
new ImagePreviewWidget(node, inputSpec.name, {
|
new ImagePreviewWidget(node, inputSpec.name, {
|
||||||
serialize: false
|
serialize: false,
|
||||||
|
canvasOnly: true
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user