make default font size consistent
This commit is contained in:
1 parent
23982b185e
commit
71ddd8aa91
2 files changed
+2
-2
No files matched your search
@@ -70,7 +70,7 @@ local CreOptions = {
|
||||
spacing = 15,
|
||||
item_font_size = DCREREADER_CONFIG_FONT_SIZES,
|
||||
values = DCREREADER_CONFIG_FONT_SIZES,
|
||||
default_value = 22,
|
||||
default_value = DCREREADER_CONFIG_DEFAULT_FONT_SIZE,
|
||||
args = DCREREADER_CONFIG_FONT_SIZES,
|
||||
event = "SetFontSize",
|
||||
},
|
||||
|
||||
@@ -79,7 +79,7 @@ function ReaderFont:onReadSettings(config)
|
||||
self.font_size = config:readSetting("font_size")
|
||||
if not self.font_size then
|
||||
--@TODO change this! 12.01 2013 (houqp)
|
||||
self.font_size = 29
|
||||
self.font_size = DCREREADER_CONFIG_DEFAULT_FONT_SIZE
|
||||
end
|
||||
self.ui.document:setFontSize(Screen:scaleByDPI(self.font_size))
|
||||
|
||||
|
||||
Reference in new issue
Block a user