Fixed Color Reset Markup not working correctly when a linebreak is inbetween a color definition and the Color Reset markup
This commit is contained in:
1 parent
71979b2616
commit
d9ade75c00
5 files changed
+15
-16
No files matched your search
@@ -732,7 +732,6 @@ end
|
||||
-- Returns the last used KColor
|
||||
function EID:renderString(str, position, scale, kcolor)
|
||||
str = EID:replaceShortMarkupStrings(str)
|
||||
EID.LastRenderCallColor = EID:copyKColor(kcolor) -- Save last Color for eventual Color Reset call
|
||||
local textPartsTable = EID:filterColorMarkup(str, kcolor)
|
||||
local offsetX = 0
|
||||
for i, textPart in ipairs(textPartsTable) do
|
||||
|
||||
Reference in new issue
Block a user