From fddb77d758add1045e19eaba95a1a13a70fbce6c Mon Sep 17 00:00:00 2001 From: poire-z Date: Tue, 1 Jan 2019 09:41:03 +0100 Subject: [PATCH] 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. --- frontend/apps/reader/modules/readerrolling.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/frontend/apps/reader/modules/readerrolling.lua b/frontend/apps/reader/modules/readerrolling.lua index 1190677c6..b24cf0151 100644 --- a/frontend/apps/reader/modules/readerrolling.lua +++ b/frontend/apps/reader/modules/readerrolling.lua @@ -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