diff --git a/CHANGELOG.md b/CHANGELOG.md index 6db6f666..4205a224 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ - sessions not added to history when opened - switch: traversing mode issue - remote file browser reactivity issue - - encoder: `ticks` default was `auto` instead of `360` + - encoder: broken because `ticks` default was `auto` instead of `360` - widgets - **removed** deprecated widgets `multifader`, `multitoggle`, `multipush` and `formula` - new `JS{{}}` property syntax, allows writing formulas using javascript diff --git a/src/client/app/widgets/sliders/encoder.js b/src/client/app/widgets/sliders/encoder.js index c504ceff..db827df2 100644 --- a/src/client/app/widgets/sliders/encoder.js +++ b/src/client/app/widgets/sliders/encoder.js @@ -67,7 +67,7 @@ module.exports = class Encoder extends Widget { `}) this.wrapper = DOM.get(this.widget, '.wrapper')[0] - this.ticks = Math.abs(parseInt(this.getProp('ticks'))) + this.ticks = Math.abs(parseInt(this.getProp('ticks')) || 360) this.knob = new EncoderKnob({props:{ label:false,