Use LGraphNode.setSize (#2555)

This commit is contained in:
Chenlei Hu
2025-02-14 11:02:56 -05:00
committed by GitHub
parent f2065777b5
commit acfb95f8d4
5 changed files with 9 additions and 9 deletions

View File

@@ -1147,7 +1147,7 @@ export class ComfyApp {
const size = node.computeSize()
size[0] = Math.max(node.size[0], size[0])
size[1] = Math.max(node.size[1], size[1])
node.size = size
node.setSize(size)
if (node.widgets) {
// If you break something in the backend and want to patch workflows in the frontend
// This is the place to do this