Fix bulletpoint icons being on their own line
This commit is contained in:
1 parent
448f4d2233
commit
97eef41a53
1 file changed
+2
-2
+2
-2
@@ -801,8 +801,8 @@ function EID:fitTextToWidth(str, textboxWidth, breakUtf8Chars)
|
|||||||
end
|
end
|
||||||
local strFiltered, spriteTable = EID:filterIconMarkup(table.concat(filteredWord), 0, 0)
|
local strFiltered, spriteTable = EID:filterIconMarkup(table.concat(filteredWord), 0, 0)
|
||||||
local wordLength = EID:getStrWidth(strFiltered)
|
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)
|
table.insert(text, word)
|
||||||
curLength = curLength + wordLength
|
curLength = curLength + wordLength
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user