Apply strata adjustment inside BarFactory instead of every callsite

This commit is contained in:
Parnic
2023-08-02 08:25:34 -05:00
parent 40fc8187fd
commit 6cee8c738c
9 changed files with 12 additions and 12 deletions

View File

@ -214,7 +214,7 @@ function SliceAndDice.prototype:CreateFrame()
end
function SliceAndDice.prototype:CreateDurationBar()
self.durationFrame = self:BarFactory(self.durationFrame, IceHUD.IceCore:DetermineStrata("BACKGROUND"),"ARTWORK", "Duration")
self.durationFrame = self:BarFactory(self.durationFrame, "BACKGROUND", "ARTWORK", "Duration")
-- Rokiyo: Do we need to call this here?
self.CurrScale = 0