diff --git a/browser_tests/tests/interaction.spec.ts-snapshots/single-ksampler-fit-chromium-linux.png b/browser_tests/tests/interaction.spec.ts-snapshots/single-ksampler-fit-chromium-linux.png index d2d220018..e8ef3a6e2 100644 Binary files a/browser_tests/tests/interaction.spec.ts-snapshots/single-ksampler-fit-chromium-linux.png and b/browser_tests/tests/interaction.spec.ts-snapshots/single-ksampler-fit-chromium-linux.png differ diff --git a/src/scripts/app.ts b/src/scripts/app.ts index fe5fdbcbe..ad4ed91fc 100644 --- a/src/scripts/app.ts +++ b/src/scripts/app.ts @@ -1074,11 +1074,11 @@ export class ComfyApp { try { // @ts-expect-error Discrepancies between zod and litegraph - in progress this.graph.configure(graphData) - if (restore_view) { - if ( - useSettingStore().get('Comfy.EnableWorkflowViewRestore') && - graphData.extra?.ds - ) { + if ( + restore_view && + useSettingStore().get('Comfy.EnableWorkflowViewRestore') + ) { + if (graphData.extra?.ds) { this.canvas.ds.offset = graphData.extra.ds.offset this.canvas.ds.scale = graphData.extra.ds.scale } else {