mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- fixed custom textures not applying to "low threshold" or "cast lag indicator" sections of various modules
This commit is contained in:
@ -174,7 +174,7 @@ function IceUnitBar.prototype:CreateFlashFrame()
|
|||||||
self.flashFrame.flash = self.flashFrame:CreateTexture(nil, "BACKGROUND")
|
self.flashFrame.flash = self.flashFrame:CreateTexture(nil, "BACKGROUND")
|
||||||
end
|
end
|
||||||
|
|
||||||
self.flashFrame.flash:SetTexture(IceElement.TexturePath .. self.settings.barTexture)
|
self.flashFrame.flash:SetTexture(IceElement.TexturePath .. self:GetMyBarTexture())
|
||||||
self.flashFrame.flash:SetBlendMode("ADD")
|
self.flashFrame.flash:SetBlendMode("ADD")
|
||||||
self.flashFrame.flash:SetAllPoints(self.flashFrame)
|
self.flashFrame.flash:SetAllPoints(self.flashFrame)
|
||||||
|
|
||||||
|
@ -380,7 +380,7 @@ function CastBar.prototype:CreateLagBar()
|
|||||||
self.lagBar.bar = self.lagBar:CreateTexture(nil, "BACKGROUND")
|
self.lagBar.bar = self.lagBar:CreateTexture(nil, "BACKGROUND")
|
||||||
end
|
end
|
||||||
|
|
||||||
self.lagBar.bar:SetTexture(IceElement.TexturePath .. self.settings.barTexture)
|
self.lagBar.bar:SetTexture(IceElement.TexturePath .. self:GetMyBarTexture())
|
||||||
self.lagBar.bar:SetAllPoints(self.lagBar)
|
self.lagBar.bar:SetAllPoints(self.lagBar)
|
||||||
|
|
||||||
self.lagBar:SetStatusBarTexture(self.lagBar.bar)
|
self.lagBar:SetStatusBarTexture(self.lagBar.bar)
|
||||||
|
Reference in New Issue
Block a user