|
|
@ -103,6 +103,7 @@ export const ComfyWidgets = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
INT(node, inputName, inputData) { |
|
|
|
INT(node, inputName, inputData) { |
|
|
|
const { val, config } = getNumberDefaults(inputData, 1); |
|
|
|
const { val, config } = getNumberDefaults(inputData, 1); |
|
|
|
|
|
|
|
Object.assign(config, { precision: 0 }) |
|
|
|
return { |
|
|
|
return { |
|
|
|
widget: node.addWidget( |
|
|
|
widget: node.addWidget( |
|
|
|
"number", |
|
|
|
"number", |
|
|
|