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