Add LOW strata to health bars (#1)
The strata was defaulting much higher than it should be and was overlapping with other frames such as the character pane. This was applying to all bars including raid, player, and party.
This commit is contained in:
parent
3dada108b9
commit
06e8e33f77
1 changed files with 2 additions and 1 deletions
|
|
@ -53,7 +53,8 @@ function Health:OnEnable(frame)
|
|||
if( not frame.healthBar ) then
|
||||
frame.healthBar = ShadowUF.Units:CreateBar(frame)
|
||||
end
|
||||
|
||||
frame:SetFrameStrata("LOW")
|
||||
|
||||
frame:RegisterUnitEvent("UNIT_HEALTH", self, "Update")
|
||||
frame:RegisterUnitEvent("UNIT_MAXHEALTH", self, "Update")
|
||||
frame:RegisterUnitEvent("UNIT_FACTION", self, "UpdateColor")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue