Quantcast

Color castbar text instead of icon

Adrian L Lange [01-12-10 - 14:53]
Color castbar text instead of icon
Filename
oUF_P3lim.lua
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index 25658c5..3ddd934 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -80,9 +80,9 @@ end
 local function castIcon(self, event, unit)
 	local castbar = self.Castbar
 	if(castbar.interrupt) then
-		castbar.Icon:SetVertexColor(1, 0, 0)
+		castbar.Text:SetTextColor(1, 0, 0)
 	else
-		castbar.Icon:SetVertexColor(1, 1, 1)
+		castbar.Text:SetTextColor(1, 1, 1)
 	end
 end