- increased the min/max vertical offset for bars by request

- fixed a minor typo in the maelstrom counter options
- removed extraneous function from the custom bar
This commit is contained in:
Parnic
2009-04-08 02:23:07 +00:00
parent c272fee8c5
commit 06a7c7a05c
3 changed files with 3 additions and 7 deletions

View File

@ -280,8 +280,8 @@ function IceBarElement.prototype:GetOptions()
type='range', type='range',
name = '|c' .. self.configColor .. 'Bar vertical offset|r', name = '|c' .. self.configColor .. 'Bar vertical offset|r',
desc = 'Adjust the vertical placement of this bar', desc = 'Adjust the vertical placement of this bar',
min = -100, min = -400,
max = 100, max = 400,
step = 1, step = 1,
get = function() get = function()
return self.moduleSettings.barVerticalOffset return self.moduleSettings.barVerticalOffset

View File

@ -213,10 +213,6 @@ function IceCustomBar.prototype:GetBarColor()
return self.moduleSettings.barColor.r, self.moduleSettings.barColor.g, self.moduleSettings.barColor.b return self.moduleSettings.barColor.r, self.moduleSettings.barColor.g, self.moduleSettings.barColor.b
end end
function IceCustomBar.prototype:CreateFrame()
IceCustomBar.super.prototype.CreateFrame(self)
end
-- 'Protected' methods -------------------------------------------------------- -- 'Protected' methods --------------------------------------------------------
function IceCustomBar.prototype:GetAuraDuration(unitName, buffName) function IceCustomBar.prototype:GetAuraDuration(unitName, buffName)

View File

@ -85,7 +85,7 @@ function MaelstromCount.prototype:GetOptions()
opts["maelstromGap"] = { opts["maelstromGap"] = {
type = 'range', type = 'range',
name = 'Maelstrom gap', name = 'Maelstrom gap',
desc = 'Spacing between each maelstromGap point (only works for graphical mode)', desc = 'Spacing between each maelstrom point (only works for graphical mode)',
min = 0, min = 0,
max = 100, max = 100,
step = 1, step = 1,