mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- 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:
@ -258,6 +258,10 @@ 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()
|
||||
|
Reference in New Issue
Block a user