change how line height is edited

This commit is contained in:
Buurazu authored and GitHub committed 2022-01-21 05:11:53 -05:00
1 parent 3a750b33bc
commit b7d7dfe7ba
1 file changed
+5 -5
+5 -5
View File
@@ -315,17 +315,17 @@ if MCMLoaded then
{
Type = ModConfigMenu.OptionType.NUMBER,
CurrentSetting = function()
return EID.lineHeight
return EID.Config["LineHeight"]
end,
Minimum = 1,
Maximum = 100,
Display = function()
return "Line Height: " .. EID.lineHeight
return "Line Height: " .. EID.Config["LineHeight"]
end,
OnChange = function(currentNum)
EID.lineHeight = currentNum
EID.Config["LineHeight"] = currentNum
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
@@ -346,7 +346,7 @@ if MCMLoaded then
OnChange = function(currentNum)
EID.Config["TextboxWidth"] = currentNum
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"}
}
)