From 97eef41a53d4fd9b2f12c0c009463538aa0ed97a Mon Sep 17 00:00:00 2001 From: Buurazu Date: Fri, 21 Jan 2022 00:58:22 -0500 Subject: [PATCH] Fix bulletpoint icons being on their own line --- eid_api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eid_api.lua b/eid_api.lua index 92df0a45..b360e84f 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -801,8 +801,8 @@ function EID:fitTextToWidth(str, textboxWidth, breakUtf8Chars) end local strFiltered, spriteTable = EID:filterIconMarkup(table.concat(filteredWord), 0, 0) local wordLength = EID:getStrWidth(strFiltered) - - if curLength + wordLength <= textboxWidth or curLength < 12 then + + if curLength + wordLength <= textboxWidth or curLength < 17 then table.insert(text, word) curLength = curLength + wordLength else