1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-03 17:59:28 +02:00

handle a touchMove error

handle a touchMove error

handle a touchMove error
This commit is contained in:
atyamash 2020-02-23 14:17:56 +09:00
parent d1f785efdd
commit 5a3c872739

View file

@ -548,6 +548,7 @@ module.exports = function(options) {
])
})
.on('input.touchMove', function(channel, data) {
try {
push.send([
channel
, wireutil.envelope(new wire.TouchMoveMessage(
@ -558,6 +559,10 @@ module.exports = function(options) {
, data.pressure
))
])
}
catch(err) {
log.error('input.touchMove had an error', err.stack)
}
})
.on('input.touchUp', function(channel, data) {
push.send([