mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-23 07:50:15 +00:00
Update litegraph (TypeScript LLink) (#1213)
* Update litegraph (TypeScript LLink) * Remove ts-expect-error
This commit is contained in:
@@ -159,7 +159,6 @@ app.registerExtension({
|
||||
for (const l of node.outputs[0].links || []) {
|
||||
const link = app.graph.links[l]
|
||||
if (link) {
|
||||
// @ts-expect-error Fix litegraph types
|
||||
link.color = color
|
||||
|
||||
if (app.configuringGraph) continue
|
||||
@@ -205,7 +204,6 @@ app.registerExtension({
|
||||
if (inputNode) {
|
||||
const link = app.graph.links[inputNode.inputs[0].link]
|
||||
if (link) {
|
||||
// @ts-expect-error Fix litegraph types
|
||||
link.color = color
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user