mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -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,
|
end,
|
||||||
order = 29
|
order = 29
|
||||||
}
|
}
|
||||||
|
if not self.moduleSettings.hideAnimationSettings then
|
||||||
opts["headerAnimation"] = {
|
opts["headerAnimation"] = {
|
||||||
type = 'header',
|
type = 'header',
|
||||||
name = 'Animation settings',
|
name = 'Animation settings',
|
||||||
@ -254,6 +254,7 @@ function IceBarElement.prototype:GetOptions()
|
|||||||
end,
|
end,
|
||||||
order = 112
|
order = 112
|
||||||
}
|
}
|
||||||
|
end
|
||||||
|
|
||||||
opts["widthModifier"] =
|
opts["widthModifier"] =
|
||||||
{
|
{
|
||||||
|
@ -82,6 +82,7 @@ function SliceAndDice.prototype:GetDefaultSettings()
|
|||||||
settings["lockLowerFontAlpha"] = false
|
settings["lockLowerFontAlpha"] = false
|
||||||
settings["lowerTextString"] = ""
|
settings["lowerTextString"] = ""
|
||||||
settings["lowerTextVisible"] = false
|
settings["lowerTextVisible"] = false
|
||||||
|
settings["hideAnimationSettings"] = true
|
||||||
|
|
||||||
return settings
|
return settings
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user