Skip to content

Commit

Permalink
Hide prof quality tab in non-Retail
Browse files Browse the repository at this point in the history
  • Loading branch information
Luckyone961 committed Jan 27, 2025
1 parent 72555ea commit 4c8007a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElvUI_Options/Core/ActionBars.lua
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ macroTextGroup.args.macroFontSize = ACH:Range(L["Font Size"], nil, 9, C.Values.F
macroTextGroup.args.macroFontOutline = ACH:FontFlags(L["Font Outline"], nil, 10)
SharedBarOptions.macroTextGroup = macroTextGroup

local professionQuality = ACH:Group(L["Profession Quality"], nil, 70, nil, function(info) return E.db.actionbar[info[#info-2]].professionQuality[info[#info]] end, function(info, value) E.db.actionbar[info[#info-2]].professionQuality[info[#info]] = value AB:UpdateButtonSettings(info[#info-2]) end)
local professionQuality = ACH:Group(L["Profession Quality"], nil, 70, nil, function(info) return E.db.actionbar[info[#info-2]].professionQuality[info[#info]] end, function(info, value) E.db.actionbar[info[#info-2]].professionQuality[info[#info]] = value AB:UpdateButtonSettings(info[#info-2]) end, nil, not E.Retail)
professionQuality.args.enable = ACH:Toggle(L["Enable"], nil, 0, nil, nil, nil, nil, nil, nil, false)
professionQuality.args.spacer1 = ACH:Spacer(3, 'full')
professionQuality.args.alpha = ACH:Range(L["Alpha"], L["Change the alpha level of the frame."], 1, { min = 0, max = 1, step = 0.01, isPercent = true })
Expand Down

0 comments on commit 4c8007a

Please sign in to comment.