mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
Fixed "Hide Blizzard" option in Holy Power module in 7.0
This commit is contained in:
@ -78,15 +78,23 @@ function HolyPower.prototype:GetRuneTexture(rune)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function HolyPower.prototype:ShowBlizz()
|
function HolyPower.prototype:ShowBlizz()
|
||||||
PaladinPowerBar:Show()
|
local frame = PaladinPowerBarFrame
|
||||||
|
if frame == nil then
|
||||||
|
frame = PaladinPowerBar
|
||||||
|
end
|
||||||
|
|
||||||
PaladinPowerBar:GetScript("OnLoad")(PaladinPowerBar)
|
frame:Show()
|
||||||
|
frame:GetScript("OnLoad")(frame)
|
||||||
end
|
end
|
||||||
|
|
||||||
function HolyPower.prototype:HideBlizz()
|
function HolyPower.prototype:HideBlizz()
|
||||||
PaladinPowerBar:Hide()
|
local frame = PaladinPowerBarFrame
|
||||||
|
if frame == nil then
|
||||||
|
frame = PaladinPowerBar
|
||||||
|
end
|
||||||
|
|
||||||
PaladinPowerBar:UnregisterAllEvents()
|
frame:Hide()
|
||||||
|
frame:UnregisterAllEvents()
|
||||||
end
|
end
|
||||||
|
|
||||||
function HolyPower.prototype:UpdateRunePower(event)
|
function HolyPower.prototype:UpdateRunePower(event)
|
||||||
|
Reference in New Issue
Block a user