+ Speech & Recognation extension is disabled by default due to a bug with multi-line fields
+ Update version
This commit is contained in:
AlekPet
2025-08-29 20:14:23 +03:00
parent 60e3607883
commit 62948a8c5d
2 changed files with 11 additions and 3 deletions
+10 -2
View File
@@ -24,9 +24,10 @@ const SpeechAndRecognationSpeechLS = localStorage.getItem(
);
// Settings set values from LS or default for Speech & Recognition widget settings
// Default Off: https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet/issues/166#issuecomment-3107129457
let SpeechAndRecognationSpeech = SpeechAndRecognationSpeechLS
? JSON.parse(SpeechAndRecognationSpeechLS)
: true,
: false,
SpeechAndRecognationSpeechSaveAs = JSON.parse(
localStorage.getItem(`${idExt}.SpeechAndRecognationSpeechSaveAs`),
false
@@ -46,7 +47,7 @@ app.registerExtension({
app.ui.settings.addSetting({
id: `${idExt}.SpeechAndRecognationSpeech`,
name: "🔸 Speak text & Recognition speech",
defaultValue: true,
defaultValue: false,
type: (name, sett, val) => {
const newUI = document.querySelector(".p-dialog-header");
return $el("tr", [
@@ -61,6 +62,13 @@ app.registerExtension({
])
: "",
$el("td", [
$el("a", {
href: "https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet/issues/166#issuecomment-3107129457",
title: "Causes a bug with multiline fields",
target: "_blank",
textContent: "Bug with multiline fields 🐞",
style: { textDecoration: "none" },
}),
$el(
"label",
{
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui_custom_nodes_alekpet"
description = "Nodes: PoseNode, PainterNode, TranslateTextNode, TranslateCLIPTextEncodeNode, DeepTranslatorTextNode, DeepTranslatorCLIPTextEncodeNode, ArgosTranslateTextNode, ArgosTranslateCLIPTextEncodeNode, ChatGLM4TranslateCLIPTextEncodeNode, ChatGLM4TranslateTextNode, ChatGLM4InstructNode, ChatGLM4InstructMediaNode, PreviewTextNode, HexToHueNode, ColorsCorrectNode, IDENode."
version = "1.0.82"
version = "1.0.83"
license = { file = "LICENSE" }
[project.urls]