multifader: fix disabling drag event on children when traversing is enabled (prevent double event firing)
This commit is contained in:
parent
a6c3f19dfa
commit
3612496693
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ module.exports = class Multifader extends _matrices_base {
|
|||
element[0].style.setProperty(widgetData.horizontal?'height':'width', 100/widgetData.strips + '%')
|
||||
element[0].classList.add('not-editable')
|
||||
|
||||
if (widgetData.traversing) element.find('.fader-wrapper').off('drag')
|
||||
if (widgetData.traversing) element.find('canvas').off('drag')
|
||||
|
||||
this.value[i-widgetData.start] = widgetData.range.min
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue