- set animation options to be always hidden on cast bars instead of just disabled (had to fill in some dummy strings...shouldn't matter much)

This commit is contained in:
Parnic
2008-02-10 07:12:24 +00:00
parent 55bf141845
commit 30117d1cfd
2 changed files with 34 additions and 20 deletions

View File

@ -114,16 +114,23 @@ function CastBar.prototype:GetOptions()
opts["shouldAnimate"] =
{
type = 'toggle',
name = '|c' .. self.configColor .. 'Animate amount changes|r',
desc = 'Whether or not to animate the bar falloffs/gains',
get = function()
return self.moduleSettings.shouldAnimate
end,
set = function(value)
self.moduleSettings.shouldAnimate = value
self:Redraw()
end,
disabled = function()
name = 's',
desc = 's',
set = 's',
get = 's',
hidden = function()
return true
end
}
opts["desiredLerpTime"] =
{
type = 'toggle',
name = 'd',
desc = 'd',
set = 'd',
get = 'd',
hidden = function()
return true
end
}

View File

@ -60,16 +60,23 @@ function TargetCast.prototype:GetOptions()
opts["shouldAnimate"] =
{
type = 'toggle',
name = '|c' .. self.configColor .. 'Animate amount changes|r',
desc = 'Whether or not to animate the bar falloffs/gains',
get = function()
return self.moduleSettings.shouldAnimate
end,
set = function(value)
self.moduleSettings.shouldAnimate = value
self:Redraw()
end,
disabled = function()
name = 's',
desc = 's',
set = 's',
get = 's',
hidden = function()
return true
end
}
opts["desiredLerpTime"] =
{
type = 'toggle',
name = 'd',
desc = 'd',
set = 'd',
get = 'd',
hidden = function()
return true
end
}