Quantcast

Fixed channeling issue

p3lim-52096 [11-24-08 - 02:18]
Fixed channeling issue

git-svn-id: svn://svn.wowinterface.com/oUF_BarFader-229/trunk@12 cbe42a47-3b53-4817-a5a9-47e79666164c
Filename
oUF_BarFader/oUF_BarFader.lua
diff --git a/oUF_BarFader/oUF_BarFader.lua b/oUF_BarFader/oUF_BarFader.lua
index 4640658..50b8124 100644
--- a/oUF_BarFader/oUF_BarFader.lua
+++ b/oUF_BarFader/oUF_BarFader.lua
@@ -37,7 +37,7 @@ local function UpdateElement(self)
 		elseif(UnitExists(self.unit..'target')) then
 			self:SetAlpha(self.BarFadeMaxAlpha or 1)
 		elseif(self.Castbar) then
-			self:SetAlpha(self.Castbar.casting and (self.BarFadeMaxAlpha or 1) or (self.BarFadeMinAlpha or 0.25))
+			self:SetAlpha((self.Castbar.casting or self.Castbar.channeling) and (self.BarFadeMaxAlpha or 1) or (self.BarFadeMinAlpha or 0.25))
 		elseif(self.unit == 'pet' and GetPetHappiness()) then
 			self:SetAlpha((GetPetHappiness() < 3) and (self.BarFadeMaxAlpha or 1) or (self.BarFadeMinAlpha or 0.25))
 		else