mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40: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',
|
||||
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()
|
||||
return DogTag == nil
|
||||
return DogTag == nil or self.elementName == "DruidMana"
|
||||
end,
|
||||
get = function()
|
||||
return self.moduleSettings.upperText
|
||||
@ -225,7 +225,7 @@ function IceBarElement.prototype:GetOptions()
|
||||
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',
|
||||
disabled = function()
|
||||
return DogTag == nil
|
||||
return DogTag == nil or self.elementName == "DruidMana"
|
||||
end,
|
||||
get = function()
|
||||
return self.moduleSettings.lowerText
|
||||
|
Reference in New Issue
Block a user