Update visibility options

add setting to disable the module
Disable the button if no relevant professions
This commit is contained in:
BanditTech
2025-11-08 11:13:19 -08:00
parent 52ef5a3733
commit b126eb2872
4 changed files with 73 additions and 40 deletions
+11 -4
View File
@@ -149,22 +149,29 @@ E.Options.args.bags = {
name = L["Disable Bank Sort"],
set = function(info, value) E.db.bags[info[#info]] = value B:ToggleSortButtonState(true) end
},
unlearnedVanityIcon = {
deconstruct = {
order = 16,
type = "toggle",
name = "Deconstruct Mode",
desc = "Enable the Deconstruct Mode button for disenchanting, milling, prospecting, and unlocking items.",
set = function(info, value) E.db.bags[info[#info]] = value E:StaticPopup_Show("PRIVATE_RL") end
},
unlearnedVanityIcon = {
order = 17,
type = "toggle",
name = L["Unlearned Vanity"],
desc = L["Unlearned Vanity Desc"],
set = function(info, value) E.db.bags[info[#info]] = value B:UpdateAllBagSlots() end
},
unlearnedWardrobeIcon = {
order = 17,
order = 18,
type = "toggle",
name = L["Unlearned Wardrobe"],
desc = L["Unlearned Wardrobe Desc"],
set = function(info, value) E.db.bags[info[#info]] = value B:UpdateAllBagSlots() end
},
countGroup = {
order = 18,
order = 19,
type = "group",
name = L["Item Count Font"],
guiInline = true,
@@ -209,7 +216,7 @@ E.Options.args.bags = {
}
},
itemLevelGroup = {
order = 19,
order = 20,
type = "group",
name = L["Item Level"],
guiInline = true,