mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- more fixes to the Runes module's visibility when entering/exiting combat, etc.
This commit is contained in:
@ -228,7 +228,7 @@ function Runes.prototype:CreateFrame()
|
||||
self.frame:ClearAllPoints()
|
||||
self.frame:SetPoint("TOP", self.parent, "BOTTOM", self.moduleSettings.hpos, self.moduleSettings.vpos)
|
||||
|
||||
self:Show(true)
|
||||
-- self:Show(true)
|
||||
|
||||
self:CreateRuneFrame()
|
||||
end
|
||||
@ -331,6 +331,21 @@ function Runes.prototype:TargetChanged()
|
||||
self:Redraw()
|
||||
end
|
||||
|
||||
function Runes.prototype:InCombat()
|
||||
Runes.super.prototype.InCombat(self)
|
||||
self:Redraw()
|
||||
end
|
||||
|
||||
function Runes.prototype:OutCombat()
|
||||
Runes.super.prototype.OutCombat(self)
|
||||
self:Redraw()
|
||||
end
|
||||
|
||||
function Runes.prototype:CheckCombat()
|
||||
Runes.super.prototype.CheckCombat(self)
|
||||
self:Redraw()
|
||||
end
|
||||
|
||||
-- Load us up
|
||||
local _, unitClass = UnitClass("player")
|
||||
if (unitClass == "DEATHKNIGHT") then
|
||||
|
Reference in New Issue
Block a user