From 5a00655e33194051eefcebe5d08fe3fa3193595f Mon Sep 17 00:00:00 2001 From: Shinihime <45272796+Shinihime@users.noreply.github.com> Date: Tue, 21 May 2024 22:09:58 +0200 Subject: [PATCH] Load settings fix "both" was missing --- js/workflowfix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/workflowfix.js b/js/workflowfix.js index c6c41f3..fe075f3 100644 --- a/js/workflowfix.js +++ b/js/workflowfix.js @@ -113,7 +113,7 @@ ext.loadedGraphNode = function(node, app) { else if (node.comfyClass === "HighRes-Fix Script") { const upscaleTypeWidget = node.widgets.find(w => w.name === "upscale_type"); - if (upscaleTypeWidget && upscaleTypeWidget.value !== "latent" && upscaleTypeWidget.value !== "pixel") { + if (upscaleTypeWidget && upscaleTypeWidget.value !== "latent" && upscaleTypeWidget.value !== "pixel" && upscaleTypeWidget.value !== "both") { console.log("[EfficiencyUpdate]", "Reloading 'HighRes-Fix Script' node:", node); // Reload the node and get the new node instance