range: multitouch interaction issue

This commit is contained in:
bordun 2022-07-04 11:05:43 +02:00
parent 1b10dc7ca0
commit a5c1725028
2 changed files with 3 additions and 0 deletions

View file

@ -162,6 +162,8 @@ class Range extends Fader {
if (!i) return
e.inertia = 1 // cancel mutlifinger inertia
if (e.shiftKey) {
this.faders[0].trigger('drag', e)
this.faders[1].trigger('drag', e)