mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
Fixed HarmonyPower Hide Blizzard option generating errors
This commit is contained in:
@ -91,15 +91,23 @@ function HarmonyPower.prototype:GetRuneTexture(rune)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function HarmonyPower.prototype:ShowBlizz()
|
function HarmonyPower.prototype:ShowBlizz()
|
||||||
MonkHarmonyBar:Show()
|
local frame = MonkHarmonyBarFrame
|
||||||
|
if frame == nil then
|
||||||
|
frame = MonkHarmonyBar
|
||||||
|
end
|
||||||
|
|
||||||
MonkHarmonyBar:GetScript("OnLoad")(MonkHarmonyBar)
|
frame:Show()
|
||||||
|
frame:GetScript("OnLoad")(frame)
|
||||||
end
|
end
|
||||||
|
|
||||||
function HarmonyPower.prototype:HideBlizz()
|
function HarmonyPower.prototype:HideBlizz()
|
||||||
MonkHarmonyBar:Hide()
|
local frame = MonkHarmonyBarFrame
|
||||||
|
if frame == nil then
|
||||||
|
frame = MonkHarmonyBar
|
||||||
|
end
|
||||||
|
|
||||||
MonkHarmonyBar:UnregisterAllEvents()
|
frame:Hide()
|
||||||
|
frame:UnregisterAllEvents()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Load us up
|
-- Load us up
|
||||||
|
Reference in New Issue
Block a user