- fixed the "low threshold" flash to work properly on rotated bars

This commit is contained in:
Parnic
2010-10-10 00:03:15 +00:00
parent 6d3dcaa0dc
commit 1a3ba61e6d

View File

@ -193,6 +193,20 @@ function IceUnitBar.prototype:CreateFlashFrame()
end
end
function IceUnitBar.prototype:RotateHorizontal()
IceUnitBar.super.prototype.RotateHorizontal(self)
self:RotateFrame(self.flashFrame)
end
function IceUnitBar.prototype:ResetRotation()
IceUnitBar.super.prototype.ResetRotation(self)
if self.flashFrame.anim then
self.flashFrame.anim:Stop()
end
end
-- OVERRIDE
function IceUnitBar.prototype:Update()