From bca32d02b1a48737261e602cfad9a88e6c86f908 Mon Sep 17 00:00:00 2001 From: Parnic Date: Sun, 5 Dec 2010 04:19:45 +0000 Subject: [PATCH] - changed custom cooldown bars back to never forcefully hide themselves when set to 'always' display mode. they will now respect the global transparency settings instead. seems like i can't make everyone happy with this setting but this behavior is the most consistent with the rest of the mod --- modules/CustomCDBar.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/CustomCDBar.lua b/modules/CustomCDBar.lua index 0f2bc21..37e86b2 100644 --- a/modules/CustomCDBar.lua +++ b/modules/CustomCDBar.lua @@ -590,11 +590,11 @@ end function IceCustomCDBar.prototype:Show(bShouldShow, bForceHide) if self.moduleSettings.enabled and not bForceHide then if self.moduleSettings.displayMode == "Always" then - if self.target then + --if self.target then IceCustomCDBar.super.prototype.Show(self, true) - else - IceCustomCDBar.super.prototype.Show(self, bShouldShow) - end + --else + --IceCustomCDBar.super.prototype.Show(self, bShouldShow) + --end elseif self.moduleSettings.displayMode == "When ready" then if not self.coolingDown and self:IsReady() then IceCustomCDBar.super.prototype.Show(self, true)