- 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

This commit is contained in:
Parnic
2010-12-05 04:19:45 +00:00
parent 9df1fc5ddc
commit bca32d02b1

View File

@ -590,11 +590,11 @@ end
function IceCustomCDBar.prototype:Show(bShouldShow, bForceHide) function IceCustomCDBar.prototype:Show(bShouldShow, bForceHide)
if self.moduleSettings.enabled and not bForceHide then if self.moduleSettings.enabled and not bForceHide then
if self.moduleSettings.displayMode == "Always" then if self.moduleSettings.displayMode == "Always" then
if self.target then --if self.target then
IceCustomCDBar.super.prototype.Show(self, true) IceCustomCDBar.super.prototype.Show(self, true)
else --else
IceCustomCDBar.super.prototype.Show(self, bShouldShow) --IceCustomCDBar.super.prototype.Show(self, bShouldShow)
end --end
elseif self.moduleSettings.displayMode == "When ready" then elseif self.moduleSettings.displayMode == "When ready" then
if not self.coolingDown and self:IsReady() then if not self.coolingDown and self:IsReady() then
IceCustomCDBar.super.prototype.Show(self, true) IceCustomCDBar.super.prototype.Show(self, true)