Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added addon compartment support #169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion Options/Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,17 @@ local function generateOptions()
set = function(info, value) Bartender4.db.profile.minimapIcon.hide = not value; LDBIcon[value and "Show" or "Hide"](LDBIcon, "Bartender4") end,
disabled = function() return not LDBIcon end,
},
kb = {
addonCompartmentIcon = {
order = 4,
type = "toggle",
name = "Addon Compartment Icon",
desc = "Show an Icon to open the config at the Addon Compartment",
get = function() return Bartender4.db.profile.minimapIcon.showInCompartment end,
set = function(info, value) Bartender4.db.profile.minimapIcon.showInCompartment = value; LDBIcon[value and "AddButtonToCompartment" or "RemoveButtonFromCompartment"](LDBIcon, "Bartender4") end,
disabled = function() return not LDBIcon end,
},
kb = {
order = 5,
type = "execute",
name = L["Key Bindings"],
desc = L["Switch to key-binding mode"],
Expand Down