Merge pull request #507 from chrox/master

dirty hack to fix wrong zoom level
pull/510/head
Qingping Hou 10 years ago
commit a741bdb6ff

@ -264,6 +264,9 @@ function ReaderUI:init()
--DEBUG(self.doc_settings)
-- we only read settings after all the widgets are initialized
self:handleEvent(Event:new("ReadSettings", self.doc_settings))
-- dirty hack to make final rezoom
-- TODO: find out why we need this.
if self.zoom then self.zoom:onReZoom() end
for _,v in ipairs(self.postInitCallback) do
v()

Loading…
Cancel
Save