fix #2084 introduced by copy and paste in #2079

pull/2086/head
chrox 8 years ago
parent cf3c91d92e
commit 0ca82fb072

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

Loading…
Cancel
Save