mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add auto page crop
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user