fader/knob/pad: right-click / long tap doesn't give focus to the input anymore (#293)
This commit is contained in:
parent
d92cf4cbbd
commit
edb7da45c5
3 changed files with 2 additions and 16 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue