hide DPI dependency in Font module

This commit is contained in:
chrox
2013-02-05 18:15:45 +08:00
parent 1be80d15ae
commit 21c972a786
4 changed files with 13 additions and 12 deletions

View File

@@ -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,