Group comfy core settings (#508)

* Add category overwrite

* Group settings
This commit is contained in:
Chenlei Hu
2024-08-18 12:49:23 -04:00
committed by GitHub
parent ec5f1152da
commit add2f9baa0
12 changed files with 47 additions and 10 deletions

View File

@@ -347,7 +347,10 @@ function isSlider(display, app) {
export function initWidgets(app) {
app.ui.settings.addSetting({
id: 'Comfy.WidgetControlMode',
name: 'Controls when widget values are updated (randomize/increment/decrement), either before the prompt is queued or after.',
category: ['Comfy', 'Node Widget', 'WidgetControlMode'],
name: 'Widget control mode',
tooltip:
'Controls when widget values are updated (randomize/increment/decrement), either before the prompt is queued or after.',
type: 'combo',
defaultValue: 'after',
options: ['before', 'after'],