From 886e54c3b9b4fd9b578a174a5b90ebf7a8b8d591 Mon Sep 17 00:00:00 2001 From: Taye Adeyemi Date: Sat, 12 Sep 2015 22:25:37 +0100 Subject: [PATCH] Also do screenX/Y in touchAverage for Opera mobile --- interact.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interact.js b/interact.js index 381fd16d0..f3d5e1911 100644 --- a/interact.js +++ b/interact.js @@ -773,7 +773,9 @@ pageX: (touches[0].pageX + touches[1].pageX) / 2, pageY: (touches[0].pageY + touches[1].pageY) / 2, clientX: (touches[0].clientX + touches[1].clientX) / 2, - clientY: (touches[0].clientY + touches[1].clientY) / 2 + clientY: (touches[0].clientY + touches[1].clientY) / 2, + screenX: (touches[0].screenX + touches[1].screenX) / 2, + screenY: (touches[0].screenY + touches[1].screenY) / 2 }; }