mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- since DruidMana bar uses an estimation of available mana, hide the text customization options
This commit is contained in:
@ -205,7 +205,7 @@ function IceBarElement.prototype:GetOptions()
|
|||||||
name = 'Upper Text',
|
name = 'Upper Text',
|
||||||
desc = 'The upper text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ for tag info',
|
desc = 'The upper text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ for tag info',
|
||||||
disabled = function()
|
disabled = function()
|
||||||
return DogTag == nil
|
return DogTag == nil or self.elementName == "DruidMana"
|
||||||
end,
|
end,
|
||||||
get = function()
|
get = function()
|
||||||
return self.moduleSettings.upperText
|
return self.moduleSettings.upperText
|
||||||
@ -225,7 +225,7 @@ function IceBarElement.prototype:GetOptions()
|
|||||||
name = 'Lower Text',
|
name = 'Lower Text',
|
||||||
desc = 'The lower text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ for tag info',
|
desc = 'The lower text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ for tag info',
|
||||||
disabled = function()
|
disabled = function()
|
||||||
return DogTag == nil
|
return DogTag == nil or self.elementName == "DruidMana"
|
||||||
end,
|
end,
|
||||||
get = function()
|
get = function()
|
||||||
return self.moduleSettings.lowerText
|
return self.moduleSettings.lowerText
|
||||||
|
Reference in New Issue
Block a user