Type Widget.computedHeight (#2539)

This commit is contained in:
Chenlei Hu
2025-02-12 16:50:30 -05:00
committed by GitHub
parent 8bb785c5e4
commit c7aaa2a45d
3 changed files with 6 additions and 5 deletions

View File

@@ -24,6 +24,12 @@ declare module '@comfyorg/litegraph/dist/types/widgets' {
* See extensions/core/dynamicPrompts.ts
*/
dynamicPrompts?: boolean
/**
* The computed height of the widget. Used by customized node resize logic.
* See scripts/domWidget.ts for more details.
*/
computedHeight?: number
}
}