fiveway left in pan mode with position to bottom of column

pull/2/merge
Dobrica Pavlinusic 12 years ago
parent a839f82bac
commit de1725d395

@ -480,12 +480,12 @@ function PDFReader:inputloop()
self.offset_x = 0 self.offset_x = 0
if self.pan_by_page and self.pageno > 1 then if self.pan_by_page and self.pageno > 1 then
self.offset_x = self.pan_x self.offset_x = self.pan_x
self.offset_y = self.pan_y self.offset_y = self.min_offset_y -- bottom
self:goto(self.pageno - 1) self:goto(self.pageno - 1)
end end
end end
if self.pan_by_page then if self.pan_by_page then
self.offset_y = self.pan_y self.offset_y = self.min_offset_y
end end
elseif ev.code == KEY_FW_RIGHT then elseif ev.code == KEY_FW_RIGHT then
self.offset_x = self.offset_x - x self.offset_x = self.offset_x - x

Loading…
Cancel
Save