mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- 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:
@ -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
|
||||||
|
@ -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)
|
||||||
|
@ -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,
|
||||||
|
Reference in New Issue
Block a user