diff --git a/changelog.md b/changelog.md index 9770923..21cedd5 100644 --- a/changelog.md +++ b/changelog.md @@ -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: diff --git a/modules/CustomBar.lua b/modules/CustomBar.lua index fb79bc9..708fc93 100644 --- a/modules/CustomBar.lua +++ b/modules/CustomBar.lua @@ -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 diff --git a/this_version.md b/this_version.md index 900d68a..c4e9162 100644 --- a/this_version.md +++ b/this_version.md @@ -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: