drag: traversing gestures can start from any point in the container that has the feature enabled

This commit is contained in:
jean-emmanuel 2016-12-08 13:18:31 +01:00
parent 627c64bb2f
commit a7dbc65806

View file

@ -292,8 +292,10 @@
self.addEventListener("mousedown", down, true)
self.addEventListener("touchstart", down, true)
this.on('draginit.traversing',()=>{})
this.on('disableTraversingGestures',function() {
this.off('draginit.traversing')
self.removeEventListener("mousedown", down, true)
self.removeEventListener("touchstart", down, true)
})