Update litegraph 0.8.95 (#2718)

This commit is contained in:
Chenlei Hu
2025-02-24 19:48:44 -05:00
committed by GitHub
parent 3a63b9eb56
commit d3dda14267
4 changed files with 9 additions and 7 deletions

View File

@@ -515,6 +515,7 @@ export function convertToInput(
const [oldWidth, oldHeight] = node.size
const inputIsOptional = !!widget.options?.inputIsOptional
const input = node.addInput(widget.name, type, {
// @ts-expect-error [GET_CONFIG] is not a valid property of IWidget
widget: { name: widget.name, [GET_CONFIG]: () => config },
...(inputIsOptional ? { shape: LiteGraph.SlotShape.HollowCircle } : {})
})