add auto page crop

This commit is contained in:
chrox
2013-04-14 15:16:42 +08:00
parent e56bea89aa
commit fb05f9a428
6 changed files with 61 additions and 2 deletions

View File

@@ -155,6 +155,11 @@ function ReaderZooming:onPageUpdate(new_page_no)
self:setZoom()
end
function ReaderZooming:onReZoom()
self:setZoom()
return true
end
function ReaderZooming:onHintPage()
if not self.view.hinting then return true end
if self.current_page < self.ui.document.info.number_of_pages then