mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-15 22:30:13 -05:00
- better fix for cast bars getting stuck sometimes
- reinstated the code that was shutting off updates when a bar reached its desired scale
This commit is contained in:
@ -211,6 +211,15 @@ function IceCastBar.prototype:GetOptions()
|
||||
return opts
|
||||
end
|
||||
|
||||
function IceCastBar.prototype:IsFull(scale)
|
||||
local retval = IceCastBar.super.prototype.IsFull(self, scale)
|
||||
if retval then
|
||||
if self.action and self.action ~= IceCastBar.Actions.None then
|
||||
return false
|
||||
end
|
||||
end
|
||||
return retval
|
||||
end
|
||||
|
||||
-- 'Protected' methods --------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user