- added setting to hide the new marker settings for certain bar types

- hid marker settings for the eclipse bar since it controls the placement and defines a single marker itself
This commit is contained in:
Parnic
2010-09-13 05:33:59 +00:00
parent 0ca1764a45
commit 61ae4e915f
2 changed files with 3 additions and 2 deletions

View File

@ -622,7 +622,7 @@ end
} }
} }
} }
if not self.moduleSettings.bHideMarkerSettings then
opts["markerSettings"] = opts["markerSettings"] =
{ {
type = 'group', type = 'group',
@ -733,7 +733,7 @@ end
}, },
} }
} }
end
return opts return opts
end end

View File

@ -30,6 +30,7 @@ function EclipseBar.prototype:GetDefaultSettings()
defaults.shouldAnimate = false defaults.shouldAnimate = false
defaults.hideAnimationSettings = true defaults.hideAnimationSettings = true
defaults.lockUpperTextAlpha = false defaults.lockUpperTextAlpha = false
defaults.bHideMarkerSettings = true
defaults.markers[1] = { defaults.markers[1] = {
position = 0, position = 0,
color = {r=1, g=0, b=0, a=1}, color = {r=1, g=0, b=0, a=1},