encoder: force ticks to 360 if not a number
This commit is contained in:
parent
8603fb8741
commit
3fbd5823f2
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue