[BugFix] Copy LGraphCanvas.ds on serialization (#2653)

This commit is contained in:
Chenlei Hu
2025-02-20 10:25:17 -05:00
committed by GitHub
parent 365fd1e047
commit 78146c86f4

View File

@@ -405,7 +405,7 @@ export class ComfyApp {
}
workflow.extra.ds = {
scale: self.canvas.ds.scale,
offset: self.canvas.ds.offset
offset: [...self.canvas.ds.offset]
}
} else if (workflow.extra?.ds) {
// Clear any old view data