Corrected color Priest and artifact bar display
Mikeprod [08-05-16 - 16:53]
Corrected color Priest and artifact bar display
diff --git a/modules/currency.lua b/modules/currency.lua
index 7837ad8..06555fb 100644
--- a/modules/currency.lua
+++ b/modules/currency.lua
@@ -90,7 +90,6 @@ artiFrame:RegisterForClicks("AnyUp")
local artiIcon = artiFrame:CreateTexture(nil,"OVERLAY",nil,7)
artiIcon:SetSize(16, 16)
artiIcon:SetPoint("LEFT")
-artiIcon:SetTexture(GetItemIcon(select(1,C_ArtifactUI.GetEquippedArtifactInfo())))
artiIcon:SetVertexColor(unpack(cfg.color.normal))
local artiText = artiFrame:CreateFontString(nil, "OVERLAY")
@@ -316,6 +315,7 @@ local function updateXP(xp, mxp)
end
function GetNumArtifactTraitsPurchasableFromXP(rkSpent, currAP)
+ artiIcon:SetTexture(GetItemIcon(select(1,C_ArtifactUI.GetEquippedArtifactInfo())))
artiText:SetText("Artifact rank "..rkSpent)
artiFrame:SetSize(artiText:GetStringWidth()+18, 16)
artiStatusbar:SetSize(artiText:GetStringWidth(),3)
diff --git a/settings.lua b/settings.lua
index 3252e7a..fedbc1a 100644
--- a/settings.lua
+++ b/settings.lua
@@ -25,14 +25,13 @@ cfg.color = {
classColor = false
}
-if cfg.CLASS == "PRIEST" then cfg.color.hover = {.5,.5,0,.75} end -- ADDED BEACUSE NORMALY THE PRIEST COLOR IS THE SAME AS THE NORMAL COLOR
-
if cfg.color.classColor then
local tmp=cfg.color.normal
cfg.color.normal=cfg.color.hover
cfg.color.hover=tmp
end
+if cfg.CLASS == "PRIEST" then cfg.color.hover = {.5,.5,0,.75} end -- ADDED BEACUSE NORMALY THE PRIEST COLOR IS THE SAME AS THE NORMAL COLOR
cfg.text = {
font = cfg.mediaFolder.."homizio_bold.ttf", -- SETS THE FONT