mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
hide DPI dependency in Font module
This commit is contained in:
@@ -109,7 +109,7 @@ KoptOptions = {
|
||||
name_text = "Contrast",
|
||||
name_align_right = 0.2,
|
||||
item_text = {"lightest", "lighter", "default", "darker", "darkest"},
|
||||
item_font_size = math.floor(18*Screen:getDPI()/167),
|
||||
item_font_size = 18,
|
||||
item_align_center = 0.8,
|
||||
values = {2.0, 1.5, 1.0, 0.5, 0.2},
|
||||
default_value = 1.0,
|
||||
|
||||
Reference in New Issue
Block a user