Update litegraph (Animate to bounds) (#1475)

This commit is contained in:
Chenlei Hu
2024-11-08 14:12:58 -05:00
committed by GitHub
parent 1d9c3f00b7
commit 0eba49c536
3 changed files with 6 additions and 6 deletions

View File

@@ -2964,7 +2964,7 @@ export class ComfyApp {
public goToNode(nodeId: NodeId) {
const graphNode = this.graph.getNodeById(nodeId)
if (!graphNode) return
this.canvas.animateToNode(graphNode)
this.canvas.animateToBounds(graphNode.boundingRect)
}
}