diff --git a/web/js/VHS.core.js b/web/js/VHS.core.js index 0fcc0cf..8d7f2c8 100755 --- a/web/js/VHS.core.js +++ b/web/js/VHS.core.js @@ -2220,7 +2220,7 @@ app.registerExtension({ if (v == 0) { return } - const s = this.options.step + const s = this.options.step ?? 1 let sh = this.options.mod ?? 0 this.value = Math.round((v - sh) / s) * s + sh },