Permalink
Browse files

Fixed channeling issue

git-svn-id: svn://svn.wowinterface.com/oUF_BarFader-229/trunk@12 cbe42a47-3b53-4817-a5a9-47e79666164c
  • Loading branch information...
1 parent d86f0e2 commit ee735eb996b81de7c27b44704b825539afdf9d70 p3lim-52096 committed Nov 24, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 oUF_BarFader/oUF_BarFader.lua
View
2 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

0 comments on commit ee735eb

Please sign in to comment.