- fixed bar text not properly hiding on bars that use RegisterUnitWatch to control visibility

This commit is contained in:
Parnic
2010-10-16 03:07:19 +00:00
parent 998ff6167f
commit d315ee3e3c
5 changed files with 20 additions and 16 deletions

View File

@ -258,10 +258,6 @@ function FocusHealth.prototype:Enable(core)
-- for showing/hiding the frame based on unit visibility
self.frame:SetAttribute("unit", self.unit)
RegisterUnitWatch(self.frame)
if not IceHUD.IceCore:ShouldUseDogTags() then
self.frame:SetScript("OnHide", function() self:SetBottomText1("") self:SetBottomText2("") end)
end
end
function FocusHealth.prototype:CreateBackground()