mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Make sure touch events arrive in correct order.
This commit is contained in:
@@ -40,9 +40,10 @@ module.exports = function ControlServiceFactory(
|
||||
}
|
||||
|
||||
function touchSender(type) {
|
||||
return function(x, y) {
|
||||
return function(seq, x, y) {
|
||||
socket.emit(type, channel, {
|
||||
x: x
|
||||
seq: seq
|
||||
, x: x
|
||||
, y: y
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user