encoder: fix stoopid

This commit is contained in:
jean-emmanuel 2017-06-14 23:36:32 +02:00
parent 5a90643dc8
commit 8d09bc1cc0

View file

@ -76,7 +76,7 @@ module.exports = class Encoder extends _widgets_base {
`
super({...options, html: html})
this.wrapper = this.find('.wrapper')
this.wrapper = this.widget.find('.wrapper')
this.ticks = Math.abs(parseInt(this.getProp('ticks')))
this.knob = new EncoderKnob({props:{