From 43e22b97c967bb0e210dc49f114abc474f19f342 Mon Sep 17 00:00:00 2001 From: kk8bit Date: Mon, 24 Feb 2025 15:23:47 +0800 Subject: [PATCH] v0.9.2 --- pyproject.toml | 4 ++-- web/appearance.js | 2 +- web/setget.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d442d78..279ab36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "kaytool" -description ="This is a versatile and ever-expanding toolkit for ComfyUI, offering powerful node functionalities such as “Custom Save Image,” “Professional Color Adjustment,” and “Prompt Enhancer.” Its features include precise image saving with support for ICC color profiles (sRGB/Adobe RGB), metadata embedding, advanced image adjustments (exposure, contrast, color temperature, hue, saturation), professional filter previews, dynamic prompt editing, and high-quality Baidu and Tencent AI translation." -version = "0.9.1" +description ="This is a custom node toolkit that includes a variety of practical nodes, such as a custom prompt preset node, wireless transmission nodes, Tencent and Baidu AI translator nodes, mathematical operation nodes, image size extraction nodes, display-any nodes, color adjustment nodes, and custom image saving nodes, among others." +version = "0.9.2" license = {file = "LICENSE"} [project.urls] diff --git a/web/appearance.js b/web/appearance.js index 7bc3399..aa2ed7c 100644 --- a/web/appearance.js +++ b/web/appearance.js @@ -27,7 +27,7 @@ const NODE_COLORS = { function setNodeColors(node, theme) { if (!theme) return; - //node.shape = "box"; + //node.shape = "box"; // Uncomment this line to see the node shape if (theme.nodeColor && theme.nodeBgColor) { node.color = theme.nodeColor; node.bgcolor = theme.nodeBgColor; diff --git a/web/setget.js b/web/setget.js index eb54afb..abdd574 100644 --- a/web/setget.js +++ b/web/setget.js @@ -79,7 +79,7 @@ app.registerExtension({ const fromNode = node.graph._nodes.find((n) => n.id === link_info.origin_id); if (fromNode && fromNode.outputs && fromNode.outputs[link_info.origin_slot]) { const type = fromNode.outputs[link_info.origin_slot].type; - // 仅更新输入类型,不设置 ID 的值 + this.inputs[0].type = type; this.inputs[0].name = type; } else {