mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- 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:
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user