From 7edb6c58132fcafb91cb8a0f49468f36596d5b27 Mon Sep 17 00:00:00 2001 From: christian-byrne Date: Sun, 8 Sep 2024 19:31:17 -0700 Subject: [PATCH] Fix PresetText node --- web/js/presetText.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/js/presetText.js b/web/js/presetText.js index 51b9066..472f11b 100644 --- a/web/js/presetText.js +++ b/web/js/presetText.js @@ -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");