touch fake-right-click only fires on long touch, not after every tap

This commit is contained in:
bordun 2016-05-17 00:31:39 +02:00
parent 0ccdccaab6
commit e9087066aa
4 changed files with 14 additions and 1 deletions

View file

@ -4392,6 +4392,10 @@ require('./app')
}
})
$document.on(events.touch.stop,function(e){
clearTouchTapTimer()
})
document.addEventListener(events.touch.move,clearTouchTapTimer)
document.addEventListener(events.touch.stop,clearTouchTapTimer)

View file

@ -332,6 +332,10 @@
}
})
$document.on(events.touch.stop,function(e){
clearTouchTapTimer()
})
document.addEventListener(events.touch.move,clearTouchTapTimer)
document.addEventListener(events.touch.stop,clearTouchTapTimer)