disable autocomplete on math node

This commit is contained in:
pythongosssss
2023-09-05 08:18:09 +01:00
parent c3f8ce35ae
commit 332e868ab9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ app.registerExtension({
ComfyWidgets.STRING = function (node, inputName, inputData) {
const r = STRING.apply(this, arguments);
if (inputData[1]?.multiline) {
if (inputData[1]?.multiline && inputData[1]?.["pysssss.autocomplete"] !== false) {
new TextAreaAutoComplete(r.widget.inputEl);
}