mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- unified the behavior for configuration when a module is disabled. now the sub-configs (marker/text/icon settings) remain clickable but every element inside is disabled when the module is disabled. previously some sub-configs were not clickable at all and others were
This commit is contained in:
@ -186,9 +186,6 @@ end
|
||||
type = 'group',
|
||||
name = "|c"..self.configColor..L["Icon Settings"].."|r",
|
||||
desc = L["Settings related to icons"],
|
||||
disabled = function()
|
||||
return not self.moduleSettings.enabled
|
||||
end,
|
||||
args = {
|
||||
iconConfigMode = {
|
||||
type = "toggle",
|
||||
@ -204,6 +201,9 @@ end
|
||||
self:CheckPartyRole()
|
||||
self:Redraw()
|
||||
end,
|
||||
disabled = function()
|
||||
return not self.moduleSettings.enabled
|
||||
end,
|
||||
order = 5
|
||||
},
|
||||
|
||||
@ -218,6 +218,9 @@ end
|
||||
self.moduleSettings.lockIconAlpha = v
|
||||
self:Redraw()
|
||||
end,
|
||||
disabled = function()
|
||||
return not self.moduleSettings.enabled
|
||||
end,
|
||||
order = 6
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user