mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 14:27:40 +00:00
Animate goto node (#1412)
* Animate goto node * Update litegraph (animateToNode)
This commit is contained in:
@@ -3020,7 +3020,7 @@ export class ComfyApp {
|
||||
public goToNode(nodeId: NodeId) {
|
||||
const graphNode = this.graph.getNodeById(nodeId)
|
||||
if (!graphNode) return
|
||||
this.canvas.centerOnNode(graphNode)
|
||||
this.canvas.animateToNode(graphNode)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user