Dom widget store (#2899)

This commit is contained in:
Chenlei Hu
2025-03-06 13:23:58 -05:00
committed by GitHub
parent caaf050728
commit f7be9157e0
7 changed files with 126 additions and 23 deletions

View File

@@ -424,6 +424,7 @@ export const useLitegraphService = () => {
} else {
const host = createImageHost(this)
this.setSizeForImage(true)
// @ts-expect-error host is not a standard DOM widget option.
const widget = this.addDOMWidget(
ANIM_PREVIEW_WIDGET,
'img',