mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Only hide Blizzard Vigor bar, not all fill-ups
This fixes the bar from the Digging event in 10.2.5 not showing. For real this time.
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
v1.14.36:
|
||||||
|
|
||||||
|
- Really fix IceHUD stomping on other uses of the PowerBarContainer such as the Digging bar for the Archive event.
|
||||||
|
|
||||||
v1.14.35:
|
v1.14.35:
|
||||||
|
|
||||||
- Fix IceHUD stomping on other uses of the PowerBarContainer such as the Digging bar for the Archive event.
|
- Fix IceHUD stomping on other uses of the PowerBarContainer such as the Digging bar for the Archive event.
|
||||||
|
@ -92,7 +92,12 @@ function DragonridingVigor.prototype:UpdateVigorRecharge(event, widget)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
self.suppressHideBlizz = false
|
local info = C_UIWidgetManager.GetFillUpFramesWidgetVisualizationInfo(vigorWidgetID)
|
||||||
|
if not info then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
self.suppressHideBlizz = not info or info.shownState == 0
|
||||||
|
|
||||||
if event ~= "internal" then
|
if event ~= "internal" then
|
||||||
if self.moduleSettings.hideBlizz then
|
if self.moduleSettings.hideBlizz then
|
||||||
@ -102,11 +107,6 @@ function DragonridingVigor.prototype:UpdateVigorRecharge(event, widget)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local info = C_UIWidgetManager.GetFillUpFramesWidgetVisualizationInfo(vigorWidgetID)
|
|
||||||
if not info then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
if info.numFullFrames == info.numTotalFrames then
|
if info.numFullFrames == info.numTotalFrames then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
@ -166,12 +166,16 @@ function DragonridingVigor.prototype:GetPartialRuneAtlas(rune)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function DragonridingVigor.prototype:ShowBlizz()
|
function DragonridingVigor.prototype:ShowBlizz()
|
||||||
UIWidgetPowerBarContainerFrame:Show()
|
local info = C_UIWidgetManager.GetFillUpFramesWidgetVisualizationInfo(vigorWidgetID)
|
||||||
|
if not info or info.shownState == 0 then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
UIWidgetPowerBarContainerFrame.widgetFrames[vigorWidgetID]:Show()
|
||||||
end
|
end
|
||||||
|
|
||||||
function DragonridingVigor.prototype:HideBlizz()
|
function DragonridingVigor.prototype:HideBlizz()
|
||||||
if not self.suppressHideBlizz then
|
if not self.suppressHideBlizz then
|
||||||
UIWidgetPowerBarContainerFrame:Hide()
|
UIWidgetPowerBarContainerFrame.widgetFrames[vigorWidgetID]:Hide()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
v1.14.36:
|
||||||
|
|
||||||
|
- Really fix IceHUD stomping on other uses of the PowerBarContainer such as the Digging bar for the Archive event.
|
||||||
|
|
||||||
v1.14.35:
|
v1.14.35:
|
||||||
|
|
||||||
- Fix IceHUD stomping on other uses of the PowerBarContainer such as the Digging bar for the Archive event.
|
- Fix IceHUD stomping on other uses of the PowerBarContainer such as the Digging bar for the Archive event.
|
||||||
|
Reference in New Issue
Block a user