mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -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:ClearAllPoints()
|
||||||
self.frame:SetPoint("TOP", self.parent, "BOTTOM", self.moduleSettings.hpos, self.moduleSettings.vpos)
|
self.frame:SetPoint("TOP", self.parent, "BOTTOM", self.moduleSettings.hpos, self.moduleSettings.vpos)
|
||||||
|
|
||||||
self:Show(true)
|
-- self:Show(true)
|
||||||
|
|
||||||
self:CreateRuneFrame()
|
self:CreateRuneFrame()
|
||||||
end
|
end
|
||||||
@ -331,6 +331,21 @@ function Runes.prototype:TargetChanged()
|
|||||||
self:Redraw()
|
self:Redraw()
|
||||||
end
|
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
|
-- Load us up
|
||||||
local _, unitClass = UnitClass("player")
|
local _, unitClass = UnitClass("player")
|
||||||
if (unitClass == "DEATHKNIGHT") then
|
if (unitClass == "DEATHKNIGHT") then
|
||||||
|
Reference in New Issue
Block a user