- removed the "abbreviate health" option from the focus health bar if the user is using dogtags since it doesn't apply then

- fixed the SnD potential bar to rotate properly with the main bar
This commit is contained in:
Parnic
2010-10-10 00:35:21 +00:00
parent e3833eb1e2
commit e68b509448
2 changed files with 17 additions and 0 deletions

View File

@ -210,6 +210,9 @@ function FocusHealth.prototype:GetOptions()
disabled = function() disabled = function()
return not self.moduleSettings.enabled return not self.moduleSettings.enabled
end, end,
hidden = function()
return IceHUD.IceCore:ShouldUseDogTags()
end,
order = 40.1 order = 40.1
} }

View File

@ -165,6 +165,20 @@ function SliceAndDice.prototype:CreateDurationBar()
self:UpdateDurationBar() self:UpdateDurationBar()
end end
function SliceAndDice.prototype:RotateHorizontal()
SliceAndDice.super.prototype.RotateHorizontal(self)
self:RotateFrame(self.durationFrame)
end
function SliceAndDice.prototype:ResetRotation()
SliceAndDice.super.prototype.ResetRotation(self)
if self.durationFrame.anim then
self.durationFrame.anim:Stop()
end
end
-- 'Protected' methods -------------------------------------------------------- -- 'Protected' methods --------------------------------------------------------
function SliceAndDice.prototype:GetBuffDuration(unitName, buffName) function SliceAndDice.prototype:GetBuffDuration(unitName, buffName)