[Cleanup] Remove WidgetOptions.inputIsOptional (#3361)

This commit is contained in:
Chenlei Hu
2025-04-09 10:45:51 -04:00
committed by GitHub
parent 21d679a662
commit a879f413bb
2 changed files with 0 additions and 5 deletions

View File

@@ -147,7 +147,6 @@ export const useLitegraphService = () => {
widget.label = st(nameKey, widget.label ?? inputName)
widget.options ??= {}
Object.assign(widget.options, {
inputIsOptional: inputSpec.isOptional,
forceInput: inputSpec.forceInput,
advanced: inputSpec.advanced,
hidden: inputSpec.hidden

View File

@@ -26,10 +26,6 @@ declare module '@comfyorg/litegraph/dist/types/widgets' {
* The minimum size of the node if the widget is present.
*/
minNodeSize?: Size
/**
* Whether the widget is optional.
*/
inputIsOptional?: boolean
/**
* Whether the widget is forced to be an input.
*/