1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-04 07:52:46 +08:00

Call widget callback on value control to fix primitive node issue.

This commit is contained in:
comfyanonymous
2023-10-22 23:38:18 -04:00
parent 8594c8be4d
commit 2ec6158e9e

View File

@@ -84,6 +84,7 @@ export function addValueControlWidget(node, targetWidget, defaultValue = "random
if (targetWidget.value > max)
targetWidget.value = max;
targetWidget.callback(targetWidget.value);
}
}
return valueControl;