mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -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"] =
|
opts["shouldAnimate"] =
|
||||||
{
|
{
|
||||||
type = 'toggle',
|
type = 'toggle',
|
||||||
name = '|c' .. self.configColor .. 'Animate amount changes|r',
|
name = 's',
|
||||||
desc = 'Whether or not to animate the bar falloffs/gains',
|
desc = 's',
|
||||||
get = function()
|
set = 's',
|
||||||
return self.moduleSettings.shouldAnimate
|
get = 's',
|
||||||
end,
|
hidden = function()
|
||||||
set = function(value)
|
return true
|
||||||
self.moduleSettings.shouldAnimate = value
|
end
|
||||||
self:Redraw()
|
}
|
||||||
end,
|
|
||||||
disabled = function()
|
opts["desiredLerpTime"] =
|
||||||
|
{
|
||||||
|
type = 'toggle',
|
||||||
|
name = 'd',
|
||||||
|
desc = 'd',
|
||||||
|
set = 'd',
|
||||||
|
get = 'd',
|
||||||
|
hidden = function()
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
@ -60,16 +60,23 @@ function TargetCast.prototype:GetOptions()
|
|||||||
opts["shouldAnimate"] =
|
opts["shouldAnimate"] =
|
||||||
{
|
{
|
||||||
type = 'toggle',
|
type = 'toggle',
|
||||||
name = '|c' .. self.configColor .. 'Animate amount changes|r',
|
name = 's',
|
||||||
desc = 'Whether or not to animate the bar falloffs/gains',
|
desc = 's',
|
||||||
get = function()
|
set = 's',
|
||||||
return self.moduleSettings.shouldAnimate
|
get = 's',
|
||||||
end,
|
hidden = function()
|
||||||
set = function(value)
|
return true
|
||||||
self.moduleSettings.shouldAnimate = value
|
end
|
||||||
self:Redraw()
|
}
|
||||||
end,
|
|
||||||
disabled = function()
|
opts["desiredLerpTime"] =
|
||||||
|
{
|
||||||
|
type = 'toggle',
|
||||||
|
name = 'd',
|
||||||
|
desc = 'd',
|
||||||
|
set = 'd',
|
||||||
|
get = 'd',
|
||||||
|
hidden = function()
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user