We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 674d04c commit 38d3e15Copy full SHA for 38d3e15
browser_tests/tests/interaction.spec.ts-snapshots/single-ksampler-fit-chromium-linux.png
-23 KB
src/scripts/app.ts
@@ -1074,11 +1074,11 @@ export class ComfyApp {
1074
try {
1075
// @ts-expect-error Discrepancies between zod and litegraph - in progress
1076
this.graph.configure(graphData)
1077
- if (restore_view) {
1078
- if (
1079
- useSettingStore().get('Comfy.EnableWorkflowViewRestore') &&
1080
- graphData.extra?.ds
1081
- ) {
+ if (
+ restore_view &&
+ useSettingStore().get('Comfy.EnableWorkflowViewRestore')
+ ) {
+ if (graphData.extra?.ds) {
1082
this.canvas.ds.offset = graphData.extra.ds.offset
1083
this.canvas.ds.scale = graphData.extra.ds.scale
1084
} else {
0 commit comments