mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
bug http://www.wowace.com/projects/ice-hud/tickets/14-taint-issue-with-focus-module/ - Taint Issue with Focus Module
- changed to using RegisterUnitWatch on the focus module
This commit is contained in:
@ -267,6 +267,10 @@ function FocusHealth.prototype:Enable(core)
|
|||||||
self:CreateRaidIconFrame()
|
self:CreateRaidIconFrame()
|
||||||
|
|
||||||
self:Update(self.unit)
|
self:Update(self.unit)
|
||||||
|
|
||||||
|
-- for showing/hiding the frame based on unit visibility
|
||||||
|
self.frame:SetAttribute("unit", self.unit)
|
||||||
|
RegisterUnitWatch(self.frame)
|
||||||
end
|
end
|
||||||
|
|
||||||
function FocusHealth.prototype:CreateBackground()
|
function FocusHealth.prototype:CreateBackground()
|
||||||
|
Reference in New Issue
Block a user