- disabled an optimization that was overstepping its bounds and causing issues

This commit is contained in:
Parnic
2010-11-05 05:31:19 +00:00
parent e7c8c78cb7
commit c221371d8b
2 changed files with 7 additions and 1 deletions

View File

@ -1207,7 +1207,9 @@ function IceBarElement.prototype:SetScale(inScale, force)
self:ConditionalSetupUpdate() self:ConditionalSetupUpdate()
else else
if self.CurrScale == self.DesiredScale then if self.CurrScale == self.DesiredScale then
IceHUD.IceCore:RequestUpdates(self, nil) -- Parnic: this optimization may be reaching a bit too far and causing things to get stuck
-- without this, several modules continues to update that don't need to but the stuck issues seem to be decreased
--IceHUD.IceCore:RequestUpdates(self, nil)
end end
end end
end end

View File

@ -303,6 +303,10 @@ function CastBar.prototype:Enable(core)
if self.moduleSettings.enabled and not self.moduleSettings.showBlizzCast then if self.moduleSettings.enabled and not self.moduleSettings.showBlizzCast then
self:ToggleBlizzCast(false) self:ToggleBlizzCast(false)
end end
if self.moduleSettings.shouldAnimate then
self.moduleSettings.shouldAnimate = false
end
end end