mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Apply strata adjustment inside BarFactory instead of every callsite
This commit is contained in:
@ -426,7 +426,7 @@ end
|
||||
|
||||
function CastBar.prototype:CreateLagBar()
|
||||
if self.lagBar == nil then
|
||||
self.lagBar = self:BarFactory(self.lagBar, IceHUD.IceCore:DetermineStrata("LOW"), "OVERLAY", "Lag")
|
||||
self.lagBar = self:BarFactory(self.lagBar, "LOW", "OVERLAY", "Lag")
|
||||
end
|
||||
|
||||
local r, g, b = self:GetColor("CastLag")
|
||||
|
Reference in New Issue
Block a user