fix pan by one screen in manual zoom mode

This commit is contained in:
Dobrica Pavlinusic
2012-02-29 16:54:06 +01:00
parent 9a90b4d599
commit ffc411096e

View File

@@ -437,8 +437,8 @@ function PDFReader:inputloop()
x = self.shift_x / 5
y = self.shift_y / 5
elseif self.pan_by_page then
x = self.width - 5; -- small overlap when moving by page
y = self.height - 5;
x = width - 5; -- small overlap when moving by page
y = height - 5;
else
x = self.shift_x
y = self.shift_y