fix calling setFontSize in pdfreader
This commit is contained in:
1 parent
44c31afe62
commit
6f89fec891
1 file changed
+1
-1
@@ -20,7 +20,7 @@ function ReaderCoptListener:onReadSettings(config)
|
||||
end)
|
||||
end
|
||||
|
||||
local copt_font_size = config:readSetting("copt_font_size") or 22
|
||||
local copt_font_size = config:readSetting("copt_font_size")
|
||||
if copt_font_size then
|
||||
table.insert(self.ui.postInitCallback, function()
|
||||
self.ui.document:setFontSize(copt_font_size)
|
||||
|
||||
Reference in new issue
Block a user