mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Fix Custom Bar showing empty bar in Missing mode
This commit is contained in:
@ -5,6 +5,7 @@ v1.14.21:
|
||||
- Increased maximum scale/zoom to 400%, by request.
|
||||
- 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.
|
||||
- Fixed Buff/Debuff Watchers showing an empty bar when set to Missing mode. If the background was disabled, this looked like just a floating spell icon.
|
||||
|
||||
v1.14.20:
|
||||
|
||||
|
@ -822,7 +822,11 @@ function IceCustomBar.prototype:UpdateCustomBar(unit, fromUpdate)
|
||||
|
||||
self:UpdateBar(self.auraDuration ~= 0 and remaining / self.auraDuration or 0, "undef")
|
||||
else
|
||||
self:UpdateBar(0, "undef")
|
||||
local updateVal = 0
|
||||
if self.moduleSettings.displayMode == displayModes.MISSING then
|
||||
updateVal = 1
|
||||
end
|
||||
self:UpdateBar(updateVal, "undef")
|
||||
self:Show(false)
|
||||
if not self:ShouldAlwaysSubscribe() then
|
||||
self.handlesOwnUpdates = false
|
||||
|
@ -5,6 +5,7 @@ v1.14.21:
|
||||
- Increased maximum scale/zoom to 400%, by request.
|
||||
- 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.
|
||||
- Fixed Buff/Debuff Watchers showing an empty bar when set to Missing mode. If the background was disabled, this looked like just a floating spell icon.
|
||||
|
||||
v1.14.20:
|
||||
|
||||
|
Reference in New Issue
Block a user