- 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:
Parnic
2010-11-06 02:31:35 +00:00
parent 668aa19a14
commit 74b9ace21d
2 changed files with 10 additions and 13 deletions

View File

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