register swipe diagonal gesture range to screenshot

for non-multitouch devices

This PR is intended to substitude #652 which needs tweaking
double tap zone for screenshot.
This commit is contained in:
chrox
2014-06-17 21:12:42 +08:00
parent 685fbb4d94
commit bb587184a5
3 changed files with 16 additions and 3 deletions

View File

@@ -188,7 +188,6 @@ function ReaderRolling:onSwipe(arg, ges)
elseif ges.direction == "east" or ges.direction == "south" then
self:onGotoViewRel(-1)
end
return true
end
function ReaderRolling:onPan(arg, ges)