Commit 554cd882 authored by Blazeflack's avatar Blazeflack

Fixed issue relating to gradient color

This fixes #8
parent f1648b48
......@@ -203,7 +203,7 @@ function VAT:UpdateAura(button, index)
local color = E.db.VAT.staticColor
r, g, b = VAT:GetStaticColor(color.r, color.g, color.b) --Checks for class color match
else
r, g, b = ElvUF.ColorGradient(timeLeft, duration or 0, 0.8,0,0,0.8,0.8,0,0,0.8,0)
r, g, b = ElvUF:ColorGradient(timeLeft, duration or 0, 0.8,0,0,0.8,0.8,0,0,0.8,0)
end
button.Bar:SetStatusBarColor(r, g, b)
end
......@@ -317,7 +317,7 @@ function VAT:UpdateTempEnchant(button, index)
local color = E.db.VAT.staticColor
r, g, b = VAT:GetStaticColor(color.r, color.g, color.b) --Checks for class color match
else
r, g, b = ElvUF.ColorGradient(timeLeft, duration or 0, 0.8,0,0,0.8,0.8,0,0,0.8,0)
r, g, b = ElvUF:ColorGradient(timeLeft, duration or 0, 0.8,0,0,0.8,0.8,0,0,0.8,0)
end
button.Bar:SetStatusBarColor(r, g, b)
local quality = GetInventoryItemQuality("player", index)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment