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:
Jakob Roberts 2025-08-27 15:36:58 -04:00 committed by GitHub
parent 3dada108b9
commit 06e8e33f77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")