From da4943f49420325754fb79857c3806dd0708cd94 Mon Sep 17 00:00:00 2001 From: Luis Quesada Date: Fri, 18 Apr 2025 08:07:19 +0200 Subject: [PATCH] Small workaround to reset selections which breaks in the new UI --- js/script.js | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/js/script.js b/js/script.js index 89e7387..af78b46 100644 --- a/js/script.js +++ b/js/script.js @@ -254,7 +254,8 @@ function resetInteractiveForward(node) { if (currentNode.type === "InteractiveSelector" || currentNode.type == "InteractiveSelectorWithParameters") { findWidgetByName(currentNode, "selected").value = false; - currentNode.imgs = []; + // FIXME this now breaks so I commented it out: + // currentNode.imgs = []; } const connections = getNodeConnections(currentNode); diff --git a/pyproject.toml b/pyproject.toml index c82b7d2..7e1a49a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-interactive" description = "Nodes that allow making the UI interactive, with selectors and switches, etc.. Enables selecting across multiple options with the click of a button to move a workflow forward." -version = "1.0.4" +version = "1.0.5" license = { file = "LICENSE" } [project.urls]