XML - Hotfix for colors

This commit is contained in:
Robert Jelic
2025-03-03 23:44:29 +01:00
parent 635720ac11
commit 29bd742fe9

View File

@@ -417,7 +417,11 @@ local function parsePropertyTag(node, element, scope)
local entry = {}
for attr, value in pairs(child.attributes) do
entry[attr] = convertValue(value, "string", scope)
if(colors[value])then
entry[attr] = colors[value]
else
entry[attr] = convertValue(value, "string", scope)
end
end
for _, prop in ipairs(child.children) do