chore: cleanup EID:handleTextIndentation() usage
This commit is contained in:
1 parent
c0f176e303
commit
374cded973
1 file changed
+2
-3
@@ -774,9 +774,8 @@ function EID:printBulletPoints(description, renderPos, ignoreBPConfig)
|
|||||||
description = EID:replaceShortMarkupStrings(description)
|
description = EID:replaceShortMarkupStrings(description)
|
||||||
description = EID:replaceMarkupSize(description)
|
description = EID:replaceMarkupSize(description)
|
||||||
for line in string.gmatch(description, "([^#]+)") do
|
for line in string.gmatch(description, "([^#]+)") do
|
||||||
local numIndentations = 0
|
local editedLine, numIndentations = EID:handleTextIndentation(line)
|
||||||
line, numIndentations = EID:handleTextIndentation(line)
|
local formatedLines = EID:fitTextToWidth(editedLine, textboxWidth, EID.BreakUtf8CharsLanguage[EID:getLanguage()])
|
||||||
local formatedLines = EID:fitTextToWidth(line, textboxWidth, EID.BreakUtf8CharsLanguage[EID:getLanguage()])
|
|
||||||
local textColor = EID:getTextColor()
|
local textColor = EID:getTextColor()
|
||||||
|
|
||||||
local indentOffset = textOffset * numIndentations
|
local indentOffset = textOffset * numIndentations
|
||||||
|
|||||||
Reference in new issue
Block a user