mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 00:20:07 +00:00
Organize setting display for new settings dialog (#507)
This commit is contained in:
@@ -347,12 +347,10 @@ function isSlider(display, app) {
|
||||
export function initWidgets(app) {
|
||||
app.ui.settings.addSetting({
|
||||
id: 'Comfy.WidgetControlMode',
|
||||
name: 'Widget Value Control Mode',
|
||||
name: 'Controls when widget values are updated (randomize/increment/decrement), either before the prompt is queued or after.',
|
||||
type: 'combo',
|
||||
defaultValue: 'after',
|
||||
options: ['before', 'after'],
|
||||
tooltip:
|
||||
'Controls when widget values are updated (randomize/increment/decrement), either before the prompt is queued or after.',
|
||||
onChange(value) {
|
||||
controlValueRunBefore = value === 'before'
|
||||
for (const n of app.graph._nodes) {
|
||||
|
||||
Reference in New Issue
Block a user