- added some more protection against people tweaking settings or changing profiles while in combat and added a warning message explaining that stuff could be broked if they manage to do it anyway

- fixed cooldown bars that are set to "when ready" to be properly hidden when the module is disabled or profiles are changed
This commit is contained in:
Parnic
2010-09-22 05:47:01 +00:00
parent bd96c59012
commit 1af2c4d831
3 changed files with 28 additions and 5 deletions

View File

@ -535,8 +535,8 @@ function IceCustomCDBar.prototype:IsReady()
return is_ready
end
function IceCustomCDBar.prototype:Show(bShouldShow)
if self.moduleSettings.enabled then
function IceCustomCDBar.prototype:Show(bShouldShow, bForceHide)
if self.moduleSettings.enabled and not bForceHide then
if (self.moduleSettings.displayMode == "Always") then
if not self.bIsVisible then
IceCustomCDBar.super.prototype.Show(self, true)