"src/vscode:/vscode.git/clone" did not exist on "65c662f95b8128844f82df9a3d1c7f11bbf3a622"
Commit 38cfba04 authored by comfyanonymous's avatar comfyanonymous
Browse files

Rename toggle to boolean.

parent eb5191f9
......@@ -279,7 +279,7 @@ export const ComfyWidgets = {
),
};
},
TOGGLE(node, inputName, inputData) {
BOOLEAN(node, inputName, inputData) {
let defaultVal = inputData[1]["default"];
return {
widget: node.addWidget(
......@@ -287,6 +287,7 @@ export const ComfyWidgets = {
inputName,
defaultVal,
() => {},
{"on": inputData[1].label_on, "off": inputData[1].label_off}
)
};
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment