mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- fixed the "low threshold" flash to work properly on rotated bars
This commit is contained in:
@ -193,6 +193,20 @@ function IceUnitBar.prototype:CreateFlashFrame()
|
|||||||
end
|
end
|
||||||
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
|
-- OVERRIDE
|
||||||
function IceUnitBar.prototype:Update()
|
function IceUnitBar.prototype:Update()
|
||||||
|
Reference in New Issue
Block a user