Add ability to adjust strata globally

Submitted by slowkerd from Curseforge (thanks!)
This commit is contained in:
Parnic
2023-08-02 08:16:12 -05:00
parent b32f090644
commit 40fc8187fd
24 changed files with 112 additions and 41 deletions

View File

@ -107,7 +107,7 @@ function EclipseBar.prototype:CreateFrame()
end
function EclipseBar.prototype:CreateSolarBar()
self.solarBar = self:BarFactory(self.solarBar,"BACKGROUND", "ARTWORK", "Solar")
self.solarBar = self:BarFactory(self.solarBar, IceHUD.IceCore:DetermineStrata("BACKGROUND"), "ARTWORK", "Solar")
self:SetBarCoord(self.solarBar, 0.5, true)
self.solarBar.bar:SetVertexColor(self:GetColor("EclipseSolar", 1))