XML - Hotfix for colors
This commit is contained in:
@@ -417,7 +417,11 @@ local function parsePropertyTag(node, element, scope)
|
|||||||
local entry = {}
|
local entry = {}
|
||||||
|
|
||||||
for attr, value in pairs(child.attributes) do
|
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
|
end
|
||||||
|
|
||||||
for _, prop in ipairs(child.children) do
|
for _, prop in ipairs(child.children) do
|
||||||
|
|||||||
Reference in New Issue
Block a user