diff --git a/changelog.md b/changelog.md index 641f190..5913610 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog +v1.14.35: + +- Fix IceHUD stomping on other uses of the PowerBarContainer such as the Digging bar for the Archive event. + v1.14.34: - Fix Vigor showing up sometimes when it shouldn't. diff --git a/modules/DragonridingVigor.lua b/modules/DragonridingVigor.lua index 4a9f108..75f7d5b 100644 --- a/modules/DragonridingVigor.lua +++ b/modules/DragonridingVigor.lua @@ -58,6 +58,7 @@ function DragonridingVigor.prototype:CheckShouldShow(event, unit, info) local info = C_UIWidgetManager.GetFillUpFramesWidgetVisualizationInfo(vigorWidgetID) if not info or info.shownState == 0 then self:Show(false) + self.suppressHideBlizz = true if self.moduleSettings.hideBlizz then self:ShowBlizz() end @@ -91,6 +92,8 @@ function DragonridingVigor.prototype:UpdateVigorRecharge(event, widget) return end + self.suppressHideBlizz = false + if event ~= "internal" then if self.moduleSettings.hideBlizz then self:HideBlizz() @@ -167,7 +170,9 @@ function DragonridingVigor.prototype:ShowBlizz() end function DragonridingVigor.prototype:HideBlizz() - UIWidgetPowerBarContainerFrame:Hide() + if not self.suppressHideBlizz then + UIWidgetPowerBarContainerFrame:Hide() + end end -- Load us up diff --git a/this_version.md b/this_version.md index a65d485..ff41a9e 100644 --- a/this_version.md +++ b/this_version.md @@ -1,5 +1,9 @@ # Changelog +v1.14.35: + +- Fix IceHUD stomping on other uses of the PowerBarContainer such as the Digging bar for the Archive event. + v1.14.34: - Fix Vigor showing up sometimes when it shouldn't.