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.
pull/4442/head
poire-z 5 years ago
parent 92b8d70342
commit fddb77d758

@ -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

Loading…
Cancel
Save