mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
bugfix: adjust coordinates of pan gesture
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user