Configurable defaults per workflow and reset

This commit is contained in:
space-nuko
2023-05-25 13:44:37 -05:00
parent ca3957d004
commit ebe798cbf1
5 changed files with 116 additions and 24 deletions

View File

@@ -162,6 +162,8 @@ export default class ComfyComboNode extends ComfyWidgetNode<string> {
override stripUserState(o: SerializedLGraphNode) {
super.stripUserState(o);
o.properties.values = []
o.properties.defaultValue = null;
(o as any).comfyValue = null
}
}