[Cleanup] Remove unused code (#553)

This commit is contained in:
filtered
2025-02-20 10:54:24 +11:00
committed by GitHub
parent 31e16b6748
commit 485bfd1628
2 changed files with 0 additions and 6 deletions

View File

@@ -1680,8 +1680,4 @@ export class LGraph implements LinkNetwork, Serialisable<SerialisableGraph> {
console.error("Error loading graph:", err)
}
}
onNodeTrace(node?: LGraphNode, msg?: string) {
// TODO
}
}

View File

@@ -2711,8 +2711,6 @@ export class LGraphNode implements Positionable, IPinnable, IColorable {
this.console.push(msg)
if (this.console.length > LGraphNode.MAX_CONSOLE)
this.console.shift()
this.graph.onNodeTrace?.(this, msg)
}
/* Forces to redraw or the main canvas (LGraphNode) or the bg canvas (links) */