Remove unnecessary line in preview

This commit is contained in:
Zuellni
2023-11-21 01:56:57 +01:00
parent b6cd5f0de8
commit 05a30fce3f
+1 -1
View File
@@ -16,9 +16,9 @@ app.registerExtension({
this.widgets.length = index;
}
this.widgets.length = 1;
const options = ["STRING", {multiline: true }]
const widget = ComfyWidgets["STRING"](this, "output", options, app).widget;
widget.inputEl.readOnly = true;
widget.inputEl.style.opacity = 0.7;
widget.value = message.text;