mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-20 23:04:06 +00:00
Type Widget.computedHeight (#2539)
This commit is contained in:
@@ -371,9 +371,7 @@ export const useLitegraphService = () => {
|
||||
shiftY = w.last_y
|
||||
if (w.computeSize) {
|
||||
shiftY += w.computeSize()[1] + 4
|
||||
// @ts-expect-error computedHeight only exists for DOMWidget
|
||||
} else if (w.computedHeight) {
|
||||
// @ts-expect-error computedHeight only exists for DOMWidget
|
||||
shiftY += w.computedHeight
|
||||
} else {
|
||||
shiftY += LiteGraph.NODE_WIDGET_HEIGHT + 4
|
||||
|
||||
Reference in New Issue
Block a user