- 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:
Parnic
2009-04-25 23:20:00 +00:00
parent b4fe009e8e
commit 857f2388ee
2 changed files with 3 additions and 1 deletions

View File

@ -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"] =
{

View File

@ -82,6 +82,7 @@ function SliceAndDice.prototype:GetDefaultSettings()
settings["lockLowerFontAlpha"] = false
settings["lowerTextString"] = ""
settings["lowerTextVisible"] = false
settings["hideAnimationSettings"] = true
return settings
end