mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
Fix custom bar showing when disabled and set to Missing
Fixes wowace ticket #343
This commit is contained in:
@ -4,6 +4,7 @@ v1.14.21:
|
|||||||
|
|
||||||
- Increased maximum scale/zoom to 400%, by request.
|
- Increased maximum scale/zoom to 400%, by request.
|
||||||
- Fixed TargetCC/FocusCC modules on Wrath Classic.
|
- Fixed TargetCC/FocusCC modules on Wrath Classic.
|
||||||
|
- Fixed disabled Buff/Debuff Watchers showing a static gray bar when set to When Missing or Always display modes.
|
||||||
|
|
||||||
v1.14.20:
|
v1.14.20:
|
||||||
|
|
||||||
|
@ -883,9 +883,14 @@ function IceCustomBar.prototype:Show(bShouldShow, bForceHide)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if self.moduleSettings.displayMode == displayModes.MISSING then
|
if self.moduleSettings.displayMode == displayModes.MISSING then
|
||||||
IceCustomBar.super.prototype.Show(self, not bShouldShow)
|
local show = not bShouldShow
|
||||||
|
if show and not self:IsEnabled() then
|
||||||
|
show = false
|
||||||
|
end
|
||||||
|
|
||||||
|
IceCustomBar.super.prototype.Show(self, show)
|
||||||
elseif self.moduleSettings.displayMode == displayModes.WHEN_TARGETING and self.target then
|
elseif self.moduleSettings.displayMode == displayModes.WHEN_TARGETING and self.target then
|
||||||
IceCustomBar.super.prototype.Show(self, true)
|
IceCustomBar.super.prototype.Show(self, self:IsEnabled())
|
||||||
elseif self.moduleSettings.displayMode == displayModes.ALWAYS then
|
elseif self.moduleSettings.displayMode == displayModes.ALWAYS then
|
||||||
if not self.bIsVisible then
|
if not self.bIsVisible then
|
||||||
IceCustomBar.super.prototype.Show(self, true)
|
IceCustomBar.super.prototype.Show(self, true)
|
||||||
|
@ -4,6 +4,7 @@ v1.14.21:
|
|||||||
|
|
||||||
- Increased maximum scale/zoom to 400%, by request.
|
- Increased maximum scale/zoom to 400%, by request.
|
||||||
- Fixed TargetCC/FocusCC modules on Wrath Classic.
|
- Fixed TargetCC/FocusCC modules on Wrath Classic.
|
||||||
|
- Fixed disabled Buff/Debuff Watchers showing a static gray bar when set to When Missing or Always display modes.
|
||||||
|
|
||||||
v1.14.20:
|
v1.14.20:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user