mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-23 00:04:06 +00:00
Draw canvas image preview in a widget (#2952)
This commit is contained in:
@@ -29,7 +29,6 @@ export function useNodeAnimatedImage() {
|
||||
} else {
|
||||
// Create new widget
|
||||
const host = createImageHost(node)
|
||||
node.setSizeForImage?.(true)
|
||||
// @ts-expect-error host is not a standard DOM widget option.
|
||||
const widget = node.addDOMWidget(ANIM_PREVIEW_WIDGET, 'img', host.el, {
|
||||
host,
|
||||
|
||||
Reference in New Issue
Block a user