moving to right column should take margin into account to provenet skipping columns #27
This commit is contained in:
1 parent
0e3c91931d
commit
13ec6e42b5
1 file changed
+2
-1
+2
-1
@@ -498,8 +498,9 @@ function PDFReader:inputloop()
|
||||
self.offset_y = self.min_offset_y
|
||||
end
|
||||
elseif ev.code == KEY_FW_RIGHT then
|
||||
print("# FW RIGHT "..self.offset_x.." - "..x.." < "..self.min_offset_x);
|
||||
self.offset_x = self.offset_x - x
|
||||
if self.offset_x < self.min_offset_x then
|
||||
if self.offset_x < self.min_offset_x - self.pan_margin then
|
||||
self.offset_x = self.min_offset_x
|
||||
if self.pan_by_page and self.pageno < self.doc:getPages() then
|
||||
self.offset_x = self.pan_x
|
||||
|
||||
Reference in new issue
Block a user