- fixed low threshold flashing on custom bars

This commit is contained in:
Parnic
2010-12-08 04:52:37 +00:00
parent d4fd3af2d7
commit 6eda5b5f9d

View File

@ -566,6 +566,8 @@ function IceCustomBar.prototype:UpdateCustomBar(unit, fromUpdate)
return return
end end
self:ConditionalUpdateFlash()
local now = GetTime() local now = GetTime()
local remaining = nil local remaining = nil
local count = 0 local count = 0
@ -653,6 +655,9 @@ function IceCustomBar.prototype:UpdateCustomBar(unit, fromUpdate)
end end
self.barFrame.bar:SetVertexColor(self:GetBarColor()) self.barFrame.bar:SetVertexColor(self:GetBarColor())
if self.flashFrame and self.flashFrame.flash then
self.flashFrame.flash:SetVertexColor(self:GetBarColor())
end
end end
function IceCustomBar.prototype:OutCombat() function IceCustomBar.prototype:OutCombat()