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:
@ -178,7 +178,7 @@ function IceUnitBar.prototype:CreateFlashFrame()
|
||||
self.flashFrame.flash:SetBlendMode("ADD")
|
||||
self.flashFrame.flash:SetAllPoints(self.flashFrame)
|
||||
|
||||
self:SetScale(self.flashFrame.flash, 1)
|
||||
--self:SetScale(self.flashFrame.flash, 1)
|
||||
self.flashFrame:SetAlpha(0)
|
||||
|
||||
self.flashFrame:ClearAllPoints()
|
||||
|
Reference in New Issue
Block a user