- minor cleanup of the animation/scale-setting code to avoid duplicating chunks of code

This commit is contained in:
Parnic
2010-03-31 16:31:38 +00:00
parent 87cf1d74c6
commit ca4107446e
3 changed files with 25 additions and 40 deletions

View File

@ -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()