mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-11 14:02:37 +08:00
for groups
This commit is contained in:
parent
8040581506
commit
c6df6d642a
@ -319,8 +319,8 @@ class EzGraph {
|
||||
const graph = JSON.parse(JSON.stringify(this.app.graph.serialize()));
|
||||
return new Promise((r) => {
|
||||
this.app.graph.clear();
|
||||
setTimeout(() => {
|
||||
this.app.loadGraphData(graph);
|
||||
setTimeout(async () => {
|
||||
await this.app.loadGraphData(graph);
|
||||
r();
|
||||
}, 10);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user