mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-24 08:44:06 +00:00
Prevent widget value serialization for media preview widgets (#3370)
This commit is contained in:
@@ -39,6 +39,7 @@ export function useNodeAnimatedImage() {
|
||||
}) as IWidget & {
|
||||
options: { host: ReturnType<typeof createImageHost> }
|
||||
}
|
||||
widget.serialize = false
|
||||
widget.serializeValue = () => undefined
|
||||
widget.options.host.updateImages(node.imgs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user