mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-20 03:13:30 +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)
|
if (targetWidget.value > max)
|
||||||
targetWidget.value = max;
|
targetWidget.value = max;
|
||||||
|
targetWidget.callback(targetWidget.value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return valueControl;
|
return valueControl;
|
||||||
|
Loading…
Reference in New Issue
Block a user