d288be9 - Add icon tinting
[wowui.git] / Indicators.lua
index 22712f2..ce916a6 100644 (file)
@@ -36,10 +36,11 @@ local function configureIndicators(frame)
     local font = media and media:Fetch('font', config.indicatorFont) or STANDARD_TEXT_FONT;
     for pos, ind in pairs(f[frameName]) do
         ind.text:SetFont(font, config[pos]["textSize"]);
-        ind.text:SetTextColor(unpack(config[pos]["color"]));
+        ind.text:SetTextColor(unpack(config[pos]["textColor"]));
         ind.icon:SetWidth(config[pos]["iconSize"]);
         ind.icon:SetHeight(config[pos]["iconSize"]);
         ind.icon:SetTexture(DEFAULT_ICON);
+        ind.icon:SetVertexColor(unpack(config[pos]["iconColor"]));
         if config[pos]["showIcon"] then
             ind.icon:Show();
         else