mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-03-13 14:21:20 +00:00
Call widget callback on value control to fix primitive node issue.
This commit is contained in:
parent
8594c8be4d
commit
2ec6158e9e
@ -84,6 +84,7 @@ export function addValueControlWidget(node, targetWidget, defaultValue = "random
|
||||
|
||||
if (targetWidget.value > max)
|
||||
targetWidget.value = max;
|
||||
targetWidget.callback(targetWidget.value);
|
||||
}
|
||||
}
|
||||
return valueControl;
|
||||
|
Loading…
Reference in New Issue
Block a user