Align reset_view param on json file load (#3823)

This commit is contained in:
Chenlei Hu
2025-05-08 16:00:13 -04:00
committed by GitHub
parent 2425e32d51
commit 2019c1d877
4 changed files with 9 additions and 9 deletions

View File

@@ -42,12 +42,12 @@
"config": {},
"extra": {
"ds": {
"scale": 2.1600300525920346,
"scale": 1,
"offset": [
63.071794466403446,
75.18055335968394
0,
0
]
}
},
"version": 0.4
}
}

View File

@@ -77,7 +77,7 @@
"extra": {
"frontendVersion": "1.19.1",
"ds": {
"offset": [400, 400],
"offset": [0, 0],
"scale": 1
}
},

View File

@@ -368,10 +368,10 @@
"ds": {
"scale": 1,
"offset": [
149.9747408641311,
383.8593224280729
0,
0
]
}
},
"version": 0.4
}
}

View File

@@ -1364,7 +1364,7 @@ export class ComfyApp {
await this.loadGraphData(
JSON.parse(readerResult),
true,
false,
true,
fileName
)
}