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

@ -137,7 +137,7 @@ function StaggerBar.prototype:CreateFrame()
end
function StaggerBar.prototype:CreateTimerBar()
self.timerFrame = self:BarFactory(self.timerFrame, IceHUD.IceCore:DetermineStrata("MEDIUM"),"ARTWORK", "Timer")
self.timerFrame = self:BarFactory(self.timerFrame, "MEDIUM", "ARTWORK", "Timer")
self.CurrScale = 0