From 617613e7633fe01352834a8da2ecbc57319bcd48 Mon Sep 17 00:00:00 2001 From: chrox Date: Tue, 12 Mar 2013 11:27:41 +0800 Subject: [PATCH] bugfix: adjust coordinates of pan gesture --- frontend/ui/gesturedetector.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/ui/gesturedetector.lua b/frontend/ui/gesturedetector.lua index 389e7a554..e52304848 100644 --- a/frontend/ui/gesturedetector.lua +++ b/frontend/ui/gesturedetector.lua @@ -455,7 +455,7 @@ function GestureDetector:adjustGesCoordinate(ges) if ges.pos then ges.pos.x, ges.pos.y = (Screen.width - ges.pos.y), (ges.pos.x) end - if ges.ges == "swipe" then + if ges.ges == "swipe" or ges.ges == "pan" then if ges.direction == "down" then ges.direction = "left" elseif ges.direction == "up" then