Center the small bullet point icons (#733)
* center the small bullet point icons * tweak comments * fix typo
This commit is contained in:
1 parent
58c47fca8a
commit
59a71e0cc3
2 files changed
+10
-4
No files matched your search
@@ -728,7 +728,7 @@ function EID:printBulletPoints(description, renderPos)
|
||||
local bpIcon, rejectedIcon = EID:handleBulletpointIcon(lineToPrint)
|
||||
if EID:getIcon(bpIcon) ~= EID.InlineIcons["ERROR"] then
|
||||
lineToPrint = string.gsub(lineToPrint, bpIcon .. " ", "", 1)
|
||||
textColor = EID:renderString(bpIcon, renderPos + Vector(-3 * EID.Scale, 0), textScale , textColor)
|
||||
textColor = EID:renderString(bpIcon, renderPos + Vector(-3 * EID.Scale, 0), textScale , textColor, true)
|
||||
else
|
||||
if rejectedIcon then lineToPrint = string.gsub(lineToPrint, rejectedIcon .. " ", "", 1) end
|
||||
textColor = EID:renderString(bpIcon, renderPos, textScale , textColor)
|
||||
|
||||
Reference in new issue
Block a user