mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
ReaderRolling: remove swipe north/south
Fix some conflict on Android where a swipe north from the bottom to show system buttons (to exit or swith apps) would cause a page change. These gestures have never been available in ReaderPaging, so it shouldn't be a big loss.
This commit is contained in:
@@ -355,11 +355,7 @@ function ReaderRolling:onTapBackward()
|
||||
end
|
||||
|
||||
function ReaderRolling:onSwipe(_, ges)
|
||||
if ges.direction == "north" then
|
||||
self:onGotoViewRel(1)
|
||||
elseif ges.direction == "south" then
|
||||
self:onGotoViewRel(-1)
|
||||
elseif ges.direction == "west" then
|
||||
if ges.direction == "west" then
|
||||
if self.inverse_reading_order then
|
||||
self:onGotoViewRel(-1)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user