Added UploadImage+Mask nodes

This commit is contained in:
pythongosssss
2023-03-08 22:07:44 +00:00
parent c70f0ac64b
commit 4a326a2548
6 changed files with 132 additions and 5 deletions

View File

@@ -142,7 +142,7 @@ class ComfyApp {
if (numImages === 1 && !imageIndex) {
this.imageIndex = imageIndex = 0;
}
let shiftY = this.type === "SaveImage" ? 55 : 0;
let shiftY = this.type === "SaveImage" ? 55 : this.imageOffset || 0;
let dw = this.size[0];
let dh = this.size[1];
dh -= shiftY;