encoder: fix default ticks prop, should be a number

This commit is contained in:
jean-emmanuel 2019-04-08 13:39:36 +02:00
parent 4e6d11b49b
commit 1bd40b7d8d
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +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`
- widgets
- **removed** deprecated widgets `multifader`, `multitoggle`, `multipush` and `formula`
- new `JS{{}}` property syntax, allows writing formulas using javascript

View file

@ -35,7 +35,7 @@ module.exports = class Encoder extends Widget {
_encoder: 'encoder',
ticks: {type: 'number', value: 'auto', help: 'defines the granularity / verbosity of the encoder (number of step for a 360° arc)'},
ticks: {type: 'number', value: 360, help: 'defines the granularity / verbosity of the encoder (number of step for a 360° arc)'},
back: {type: '*', value: -1, help: 'Defines which value is sent when rotating the encoder anticlockwise'},
forth: {type: '*', value: 1, help: 'Defines which value is sent when rotating the encoder clockwise'},
release: {type: 'number', value: 'auto', help: [