mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- did minor options table cleanup and made a console /icehudcl command so that IceHUD gets picked up by rock config
This commit is contained in:
@ -56,12 +56,22 @@ end
|
||||
function TargetCast.prototype:GetOptions()
|
||||
local opts = TargetCast.super.prototype.GetOptions(self)
|
||||
|
||||
-- Parnic - this exists solely for the console/rock config to work...animating cast bars doesn't make sense
|
||||
opts["shouldAnimate"] =
|
||||
{
|
||||
}
|
||||
|
||||
opts["desiredLerpTime"] =
|
||||
{
|
||||
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()
|
||||
return true
|
||||
end
|
||||
}
|
||||
|
||||
return opts
|
||||
|
Reference in New Issue
Block a user