mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- minor cleanup of the animation/scale-setting code to avoid duplicating chunks of code
This commit is contained in:
@ -201,7 +201,7 @@ function IceCastBar.prototype:FlashBar(color, alpha, text, textColor)
|
||||
self.frame.bg:SetVertexColor(r, g, b, 0.3)
|
||||
self.barFrame.bar:SetVertexColor(self:GetColor(color, 0.8))
|
||||
|
||||
self:SetScale(self.barFrame.bar, 1)
|
||||
self:SetScale(1)
|
||||
self:SetBottomText1(text, textColor or "Text")
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user