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:
1 parent
92b8d70342
commit
fddb77d758
1 file changed
+1
-5
@@ -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