From 6eda5b5f9d2306e34ee4233b613279573cf2d89c Mon Sep 17 00:00:00 2001 From: Parnic Date: Wed, 8 Dec 2010 04:52:37 +0000 Subject: [PATCH] - fixed low threshold flashing on custom bars --- modules/CustomBar.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/CustomBar.lua b/modules/CustomBar.lua index e469ad2..afa8558 100644 --- a/modules/CustomBar.lua +++ b/modules/CustomBar.lua @@ -566,6 +566,8 @@ function IceCustomBar.prototype:UpdateCustomBar(unit, fromUpdate) return end + self:ConditionalUpdateFlash() + local now = GetTime() local remaining = nil local count = 0 @@ -653,6 +655,9 @@ function IceCustomBar.prototype:UpdateCustomBar(unit, fromUpdate) end self.barFrame.bar:SetVertexColor(self:GetBarColor()) + if self.flashFrame and self.flashFrame.flash then + self.flashFrame.flash:SetVertexColor(self:GetBarColor()) + end end function IceCustomBar.prototype:OutCombat()