From 36bde7ef00e73000b61eae91fafa025d465f7faf Mon Sep 17 00:00:00 2001 From: Parnic Date: Fri, 18 Apr 2008 14:35:47 +0000 Subject: [PATCH] - fixed a bug with the low health flashing frame if alphas are set to 0 --- IceUnitBar.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/IceUnitBar.lua b/IceUnitBar.lua index 18d8db8..a3d9777 100644 --- a/IceUnitBar.lua +++ b/IceUnitBar.lua @@ -153,6 +153,12 @@ function IceUnitBar.prototype:CreateFlashFrame() self.flashFrame:ClearAllPoints() self.flashFrame:SetPoint("BOTTOM", self.frame, "BOTTOM", 0, 0) + + if (self.moduleSettings.side == IceCore.Side.Left) then + self.flashFrame.flash:SetTexCoord(1, 0, 0, 1) + else + self.flashFrame.flash:SetTexCoord(0, 1, 0, 1) + end end @@ -245,7 +251,7 @@ function IceUnitBar.prototype:OnFlashUpdate() decimals = 1 - decimals end - decimals = decimals*1.1 -- add more dynanic to the color change + decimals = decimals*1.1 -- add more dynamic to the color change self.flashFrame:SetAlpha(decimals) end