mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-12 08:30:08 +00:00
Add support for LiteGraph to convert to classes (#334)
* Add support for LiteGraph to convert to classes * Fix large context menu search regression * Remove debug code * Fix regression from rename & prototype change * Fix super() calls to match LGraphNode
This commit is contained in:
@@ -11,11 +11,12 @@ app.registerExtension({
|
||||
__outputType?: string
|
||||
}
|
||||
|
||||
class RerouteNode {
|
||||
class RerouteNode extends LGraphNode {
|
||||
static category: string | undefined
|
||||
static defaultVisibility = false
|
||||
|
||||
constructor() {
|
||||
constructor(title?: string) {
|
||||
super(title)
|
||||
if (!this.properties) {
|
||||
this.properties = {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user