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

@ -199,7 +199,7 @@ function RollTheBones.prototype:CreateDurationBar()
return
end
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