- fixed text on bars using RegisterUnitWatch to be hidden properly (more fallout from the change in r644 - this was specific to people that had dogtag support disabled)

This commit is contained in:
Parnic
2010-10-14 05:50:03 +00:00
parent 3f3eabf8df
commit 99c45e7312
4 changed files with 18 additions and 2 deletions

View File

@ -114,6 +114,10 @@ function IceCustomHealth.prototype:Enable(core)
self:CreateFrame()
self.scheduledEvent = self:ScheduleRepeatingTimer("Update", IceHUD.IceCore:UpdatePeriod())
if not IceHUD.IceCore:ShouldUseDogTags() then
self.frame:SetScript("OnHide", function() self:SetBottomText1("") self:SetBottomText2("") end)
end
end
function IceCustomHealth.prototype:Disable(core)