From 3e66715f21f70076a851ce37ff6d5b4faaa2342b Mon Sep 17 00:00:00 2001 From: Moose <124457076+AntlerForce@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:46:48 -0700 Subject: [PATCH] Tweak mapName truncation --- LuaMenu/widgets/gui_battle_room_window.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LuaMenu/widgets/gui_battle_room_window.lua b/LuaMenu/widgets/gui_battle_room_window.lua index e16c77671..bee42add3 100644 --- a/LuaMenu/widgets/gui_battle_room_window.lua +++ b/LuaMenu/widgets/gui_battle_room_window.lua @@ -477,7 +477,7 @@ local function SetupInfoButtonsPanel(leftInfo, rightInfo, battle, battleID, myUs return end mapName = battle.mapName:gsub("_", " ") - mapName = StringUtilities.GetTruncatedStringWithDotDot(mapName, lblMapName.font, width - 22) + mapName = StringUtilities.GetTruncatedStringWithDotDot(mapName, lblMapName.font, width) lblMapName:SetCaption(mapName) end SetMapName(battle.mapName, mapLinkWidth)