mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Fixed bar rotation breaking low thresholds
I guess something in the 7.0 client must have changed how animations work for inherited frames because it would appear that the RotateFrame call for the child flashFrame is now causing issues somehow. Removing the call allows the flash/low threshold frame to travel alongside the parent frame when rotating.
This commit is contained in:
@ -197,13 +197,15 @@ end
|
||||
function IceUnitBar.prototype:RotateHorizontal()
|
||||
IceUnitBar.super.prototype.RotateHorizontal(self)
|
||||
|
||||
if IceHUD.WowVer < 70000 then
|
||||
self:RotateFrame(self.flashFrame)
|
||||
end
|
||||
end
|
||||
|
||||
function IceUnitBar.prototype:ResetRotation()
|
||||
IceUnitBar.super.prototype.ResetRotation(self)
|
||||
|
||||
if self.flashFrame and self.flashFrame.anim then
|
||||
if IceHUD.WowVer < 70000 and self.flashFrame and self.flashFrame.anim then
|
||||
self.flashFrame.anim:Stop()
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user