mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- 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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user