mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- added an option to allow modules to hide the animation options in the configuration panel
- made SnD hide the animation options so that people can't break the bar by enabling animation
This commit is contained in:
@ -211,7 +211,7 @@ function IceBarElement.prototype:GetOptions()
|
||||
end,
|
||||
order = 29
|
||||
}
|
||||
|
||||
if not self.moduleSettings.hideAnimationSettings then
|
||||
opts["headerAnimation"] = {
|
||||
type = 'header',
|
||||
name = 'Animation settings',
|
||||
@ -254,6 +254,7 @@ function IceBarElement.prototype:GetOptions()
|
||||
end,
|
||||
order = 112
|
||||
}
|
||||
end
|
||||
|
||||
opts["widthModifier"] =
|
||||
{
|
||||
|
@ -82,6 +82,7 @@ function SliceAndDice.prototype:GetDefaultSettings()
|
||||
settings["lockLowerFontAlpha"] = false
|
||||
settings["lowerTextString"] = ""
|
||||
settings["lowerTextVisible"] = false
|
||||
settings["hideAnimationSettings"] = true
|
||||
|
||||
return settings
|
||||
end
|
||||
|
Reference in New Issue
Block a user