Merge pull request #2086 from chrox/fix_2084

fix #2084 introduced by copy and paste in #2079
pull/2088/head
Frans de Jonge 8 years ago committed by GitHub
commit 97925df40a

@ -280,15 +280,15 @@ function ReaderRolling:onSwipe(arg, ges)
self:onGotoViewRel(-1)
elseif ges.direction == "west" then
if self.inverse_reading_order then
self:onPagingRel(-1)
self:onGotoViewRel(-1)
else
self:onPagingRel(1)
self:onGotoViewRel(1)
end
elseif ges.direction == "east" then
if self.inverse_reading_order then
self:onPagingRel(1)
self:onGotoViewRel(1)
else
self:onPagingRel(-1)
self:onGotoViewRel(-1)
end
end
end

Loading…
Cancel
Save