mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 16:40:05 +00:00
[Cleanup] Remove WidgetOptions.inputIsOptional (#3361)
This commit is contained in:
@@ -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
|
||||
|
||||
4
src/types/litegraph-augmentation.d.ts
vendored
4
src/types/litegraph-augmentation.d.ts
vendored
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user