From b7d7dfe7ba11dbdf0a4c2e3590a706a8c1021b3d Mon Sep 17 00:00:00 2001 From: Buurazu Date: Fri, 21 Jan 2022 05:11:53 -0500 Subject: [PATCH] change how line height is edited --- mod_config_menu.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mod_config_menu.lua b/mod_config_menu.lua index cec081f5..571c5ec0 100644 --- a/mod_config_menu.lua +++ b/mod_config_menu.lua @@ -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"} } )