mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-10 23:50:00 +00:00
Add support for node/input/output tooltips (#287)
* Add support for node/input/output tooltips * pr feedback * Remove
This commit is contained in:
@@ -113,6 +113,8 @@ export function addValueControlWidgets(
|
||||
serialize: false // Don't include this in prompt.
|
||||
}
|
||||
)
|
||||
valueControl.tooltip =
|
||||
'Allows the linked widget to be changed automatically, for example randomizing the noise seed.'
|
||||
valueControl[IS_CONTROL_WIDGET] = true
|
||||
updateControlWidgetLabel(valueControl)
|
||||
widgets.push(valueControl)
|
||||
@@ -133,6 +135,8 @@ export function addValueControlWidgets(
|
||||
}
|
||||
)
|
||||
updateControlWidgetLabel(comboFilter)
|
||||
comboFilter.tooltip =
|
||||
"Allows for filtering the list of values when changing the value via the control generate mode. Allows for RegEx matches in the format /abc/ to only filter to values containing 'abc'."
|
||||
|
||||
widgets.push(comboFilter)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user