[Refactor] Move Comfy.WidgetControlMode to coreSettings (#2078)

This commit is contained in:
Chenlei Hu
2024-12-27 21:06:23 -05:00
committed by GitHub
parent 74361eebe0
commit feabd3f11d
4 changed files with 38 additions and 41 deletions

View File

@@ -679,5 +679,16 @@ export const CORE_SETTINGS: SettingParams[] = [
type: 'hidden',
defaultValue: {} as ColorPalettes,
versionModified: '1.6.7'
},
{
id: 'Comfy.WidgetControlMode',
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'],
versionModified: '1.6.10'
}
]