mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
[Cleanup] Remove unused code (#553)
This commit is contained in:
@@ -1680,8 +1680,4 @@ export class LGraph implements LinkNetwork, Serialisable<SerialisableGraph> {
|
|||||||
console.error("Error loading graph:", err)
|
console.error("Error loading graph:", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onNodeTrace(node?: LGraphNode, msg?: string) {
|
|
||||||
// TODO
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2711,8 +2711,6 @@ export class LGraphNode implements Positionable, IPinnable, IColorable {
|
|||||||
this.console.push(msg)
|
this.console.push(msg)
|
||||||
if (this.console.length > LGraphNode.MAX_CONSOLE)
|
if (this.console.length > LGraphNode.MAX_CONSOLE)
|
||||||
this.console.shift()
|
this.console.shift()
|
||||||
|
|
||||||
this.graph.onNodeTrace?.(this, msg)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Forces to redraw or the main canvas (LGraphNode) or the bg canvas (links) */
|
/* Forces to redraw or the main canvas (LGraphNode) or the bg canvas (links) */
|
||||||
|
|||||||
Reference in New Issue
Block a user