Fix PresetText node

This commit is contained in:
christian-byrne
2024-09-08 19:31:17 -07:00
parent 626e001a20
commit 7edb6c5813
+3 -1
View File
@@ -63,8 +63,10 @@ app.registerExtension({
}
},
registerCustomNodes() {
class PresetTextNode {
class PresetTextNode extends LiteGraph.LGraphNode {
constructor() {
super();
this.title = "Preset Text 🐍";
this.isVirtualNode = true;
this.serialize_widgets = true;
this.addOutput("text", "STRING");