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

@ -1,5 +1,10 @@
# Changelog
## 0.5.1
- bug fixes
- touch fake-right-click only fires on long touch, not after every tap
## 0.5.0
- bug fixes

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)

View file

@ -2,7 +2,7 @@
"name": "open-stage-control",
"productName": "Open Stage Control",
"description": "A libre desktop OSC bi-directionnal control surface application.",
"version": "0.5.0",
"version": "0.5.1",
"main": "index.js",
"author": {
"name": "Jean-Emmanuel Doucet / AMMD",