Added config option for LineHeight and Textbox Width
This commit is contained in:
1 parent
22d50b5fe2
commit
0ec8a0ae60
7 files changed
+66
-14
No files matched your search
+3
-2
@@ -1012,11 +1012,12 @@ function EID:fixDefinedFont()
|
||||
local curLang = EID.Config["Language"]
|
||||
local curFont = EID.Config["FontType"]
|
||||
for _, v in ipairs(EID.descriptions[curLang].fonts) do
|
||||
if curFont == v then
|
||||
if curFont == v.name then
|
||||
return false
|
||||
end
|
||||
end
|
||||
EID.Config["FontType"] = EID.descriptions[curLang].fonts[1]
|
||||
EID.Config["FontType"] = EID.descriptions[curLang].fonts[1].name
|
||||
EID.lineHeight = EID.descriptions[curLang].fonts[1].lineHeight
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user