Fix bulletpoint icons being on their own line

This commit is contained in:
Buurazu authored and GitHub committed 2022-01-21 00:58:22 -05:00
1 parent 448f4d2233
commit 97eef41a53
1 file changed
+1 -1
+1 -1
View File
@@ -802,7 +802,7 @@ function EID:fitTextToWidth(str, textboxWidth, breakUtf8Chars)
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