mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-14 09:27:41 +00:00
Use step2 for ints
This commit is contained in:
@@ -132,7 +132,7 @@ function onCustomIntCreated(this: LGraphNode) {
|
||||
valueWidget.callback?.(valueWidget.value)
|
||||
}
|
||||
})
|
||||
Object.defineProperty(valueWidget.options, 'step', {
|
||||
Object.defineProperty(valueWidget.options, 'step2', {
|
||||
get: () => this.properties.step ?? 1,
|
||||
set: (v) => {
|
||||
this.properties.step = v
|
||||
|
||||
Reference in New Issue
Block a user