1 parent
f6270278aa
commit
f1f6eebce0
9 files changed
+60
-18
No files matched your search
@@ -211,7 +211,11 @@ function ReaderZooming:onPageUpdate(new_page_no)
|
||||
self:setZoom()
|
||||
end
|
||||
|
||||
function ReaderZooming:onReZoom()
|
||||
function ReaderZooming:onReZoom(font_size)
|
||||
if self.document.is_reflowable then
|
||||
local reflowable_font_size = self.document:convertKoptToReflowableFontSize(font_size)
|
||||
self.document:layoutDocument(reflowable_font_size)
|
||||
end
|
||||
self:setZoom()
|
||||
self.ui:handleEvent(Event:new("InitScrollPageStates"))
|
||||
return true
|
||||
|
||||
Reference in new issue
Block a user