change how line height is edited
This commit is contained in:
1 parent
3a750b33bc
commit
b7d7dfe7ba
1 file changed
+5
-5
+5
-5
@@ -315,17 +315,17 @@ if MCMLoaded then
|
|||||||
{
|
{
|
||||||
Type = ModConfigMenu.OptionType.NUMBER,
|
Type = ModConfigMenu.OptionType.NUMBER,
|
||||||
CurrentSetting = function()
|
CurrentSetting = function()
|
||||||
return EID.lineHeight
|
return EID.Config["LineHeight"]
|
||||||
end,
|
end,
|
||||||
Minimum = 1,
|
Minimum = 1,
|
||||||
Maximum = 100,
|
Maximum = 100,
|
||||||
Display = function()
|
Display = function()
|
||||||
return "Line Height: " .. EID.lineHeight
|
return "Line Height: " .. EID.Config["LineHeight"]
|
||||||
end,
|
end,
|
||||||
OnChange = function(currentNum)
|
OnChange = function(currentNum)
|
||||||
EID.lineHeight = currentNum
|
EID.Config["LineHeight"] = currentNum
|
||||||
end,
|
end,
|
||||||
Info = {"Default = 11","Lineheight will automatically change when changing a font/language"}
|
Info = {"Default = 11","Line height will automatically change when changing a font/language"}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
-- Textbox Width
|
-- Textbox Width
|
||||||
@@ -346,7 +346,7 @@ if MCMLoaded then
|
|||||||
OnChange = function(currentNum)
|
OnChange = function(currentNum)
|
||||||
EID.Config["TextboxWidth"] = currentNum
|
EID.Config["TextboxWidth"] = currentNum
|
||||||
end,
|
end,
|
||||||
Info = {"Default = 115, varies per language","Width of the EID textbox, in pixels"}
|
Info = {"Default = 130, varies per language","Width of the EID textbox, in pixels"}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user