Fix NoteNode constructor fields (#2410)

This commit is contained in:
Chenlei Hu
2025-02-03 11:20:39 -08:00
committed by GitHub
parent 3730c2b36f
commit b4121008cd
3 changed files with 7 additions and 7 deletions

View File

@@ -12,13 +12,13 @@ app.registerExtension({
registerCustomNodes() {
class NoteNode extends LGraphNode {
static category: string
static collapsable: boolean
static title_mode: number
color = LGraphCanvas.node_colors.yellow.color
bgcolor = LGraphCanvas.node_colors.yellow.bgcolor
groupcolor = LGraphCanvas.node_colors.yellow.groupcolor
isVirtualNode: boolean
collapsable: boolean
title_mode: number
constructor(title?: string) {
super(title)