From 0b108c2afb33d955c20443df9632738d12d44d99 Mon Sep 17 00:00:00 2001 From: Parnic Date: Thu, 7 Oct 2010 13:10:40 +0000 Subject: [PATCH] - now that Eclipse doesn't decay, use the appropriate alpha value regardless of whether or not the user has some power left over. it used to stay at the "in combat" setting until the bar was back at 0 - fixed a bug with "hidden" mode for inactive shards/runes where the unactivated runes would show up darkened when changing targets out of combat --- modules/ClassPowerCounter.lua | 1 + modules/EclipseBar.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ClassPowerCounter.lua b/modules/ClassPowerCounter.lua index 53e1ab9..43fcb44 100644 --- a/modules/ClassPowerCounter.lua +++ b/modules/ClassPowerCounter.lua @@ -284,6 +284,7 @@ function IceClassPowerCounter.prototype:Redraw() IceClassPowerCounter.super.prototype.Redraw(self) self:CreateFrame() + self:UpdateRunePower() end function IceClassPowerCounter.prototype:GetCustomColor() diff --git a/modules/EclipseBar.lua b/modules/EclipseBar.lua index 564add5..3acc3f9 100644 --- a/modules/EclipseBar.lua +++ b/modules/EclipseBar.lua @@ -127,7 +127,7 @@ function EclipseBar.prototype:UpdateShown() end function EclipseBar.prototype:UseTargetAlpha(scale) - return UnitPower("player", SPELL_POWER_ECLIPSE) ~= 0 + return UnitPower("player", SPELL_POWER_ECLIPSE) ~= 0 and self.combat end function EclipseBar.prototype:UpdateEclipseBuffs()