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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user