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 a1ee49105f
commit 8603fb8741
2 changed files with 2 additions and 1 deletions

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: [