mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-11 05:52:33 +08:00
Call widget callback on value control to fix primitive node issue.
This commit is contained in:
parent
7f861d49fd
commit
822f12c536
@ -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