mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- fixed Blizzard's default runes to be properly hidden when the default player health frame is left enabled
This commit is contained in:
@ -195,10 +195,6 @@ function Runes.prototype:Enable(core)
|
||||
self:RegisterEvent("RUNE_POWER_UPDATE", "UpdateRunePower");
|
||||
self:RegisterEvent("RUNE_TYPE_UPDATE", "UpdateRuneType");
|
||||
self:RegisterEvent("PLAYER_ENTERING_WORLD", "ResetRuneAvailability");
|
||||
|
||||
if (self.moduleSettings.hideBlizz) then
|
||||
self:HideBlizz()
|
||||
end
|
||||
end
|
||||
|
||||
function Runes.prototype:Disable(core)
|
||||
@ -213,6 +209,10 @@ function Runes.prototype:ResetRuneAvailability()
|
||||
for i=1, self.numRunes do
|
||||
self:UpdateRunePower(nil, i, true)
|
||||
end
|
||||
|
||||
if (self.moduleSettings.hideBlizz) then
|
||||
self:HideBlizz()
|
||||
end
|
||||
end
|
||||
|
||||
-- simply shows/hides the foreground rune when it becomes usable/unusable. this allows the background transparent rune to show only
|
||||
|
Reference in New Issue
Block a user