fader/knob/pad: right-click / long tap doesn't give focus to the input anymore (#293)

This commit is contained in:
jean-emmanuel 2018-05-17 14:51:20 +02:00
parent 5f107c613b
commit 3fe39fd18e
3 changed files with 2 additions and 16 deletions

View file

@ -4,6 +4,8 @@
- bug fixes
- regression breaking multitouch widgets
- widgets
- fader/knob/pad: right-click / long tap doesn't give focus to the input anymore
## 0.30.4

View file

@ -378,14 +378,6 @@ module.exports = class Range extends Widget {
this.showValue()
})
this.widget.addEventListener('fast-right-click',function(e){
if (!EDITING) {
e.stopPropagation()
e.preventDefault()
this.input.canvas.focus()
}
}.bind(this))
}

View file

@ -99,14 +99,6 @@ class Slider extends Canvas {
this.showValue()
})
this.widget.addEventListener('fast-right-click',function(e){
if (!EDITING) {
e.stopPropagation()
e.preventDefault()
this.input.canvas.focus()
}
}.bind(this))
}
this.setValue(this.springValue)