fix: instant preview update for ImageReceiver when sending

This commit is contained in:
Dr.Lt.Data
2023-12-10 14:59:38 +09:00
parent b47cf8509b
commit d3eab72eb8
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -126,6 +126,7 @@ function imgSendHandler(event) {
img.onload = (event) => {
nodes[i].imgs = [img];
nodes[i].size[1] = Math.max(200, nodes[i].size[1]);
app.canvas.setDirty(true);
};
img.src = `/view?filename=${data.filename}&type=${data.type}&subfolder=${data.subfolder}`+app.getPreviewFormatParam();
}
+1 -1
View File
@@ -2,7 +2,7 @@ import configparser
import os
version = "V4.44.1"
version = "V4.44.2"
dependency_version = 19