mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
- fixed icons on the target health bar not always hiding when they should
This commit is contained in:
@ -753,6 +753,18 @@ function IceTargetHealth.prototype:Update(unit)
|
|||||||
|
|
||||||
if unit and not (UnitExists(unit)) then
|
if unit and not (UnitExists(unit)) then
|
||||||
-- self:Show(false)
|
-- self:Show(false)
|
||||||
|
if self.barFrame.PvPIcon then
|
||||||
|
self.barFrame.PvPIcon:Hide()
|
||||||
|
end
|
||||||
|
if self.frame.PartyRoleIcon then
|
||||||
|
self.frame.PartyRoleIcon:Hide()
|
||||||
|
end
|
||||||
|
if self.barFrame.classIcon then
|
||||||
|
self.barFrame.classIcon:Hide()
|
||||||
|
end
|
||||||
|
if self.frame.raidIcon then
|
||||||
|
self.frame.raidIcon:Hide()
|
||||||
|
end
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
-- self:Show(true)
|
-- self:Show(true)
|
||||||
|
Reference in New Issue
Block a user