Skip to content

Commit

Permalink
Merge branch 'main' into ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
Luckyone961 committed Jan 7, 2025
2 parents 5d6816d + bf68653 commit 701b619
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ElvUI/Core/Modules/DataTexts/DualSpec.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local E, L, V, P, G = unpack(ElvUI)
if not (E.Cata or E.ClassicSOD) then return end
if not (E.Cata or E.ClassicSOD or E.ClassicAnniv or E.ClassicAnnivHC) then return end
local DT = E:GetModule('DataTexts')

local _G = _G
Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Options/Core/UnitFrames.lua
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ local function GetOptionsTable_RaidIcon(updateFunc, groupName, numUnits, subGrou
end

local function GetOptionsTable_RoleIcons(updateFunc, groupName, numGroup)
local config = ACH:Group(L["Role Icon"], nil, nil, nil, function(info) return E.db.unitframe.units[groupName].roleIcon[info[#info]] end, function(info, value) E.db.unitframe.units[groupName].roleIcon[info[#info]] = value updateFunc(UF, groupName, numGroup) end, nil, E.Classic)
local config = ACH:Group(L["Role Icon"], nil, nil, nil, function(info) return E.db.unitframe.units[groupName].roleIcon[info[#info]] end, function(info, value) E.db.unitframe.units[groupName].roleIcon[info[#info]] = value updateFunc(UF, groupName, numGroup) end, nil, not E.allowRoles)
config.args.enable = ACH:Toggle(L["Enable"], nil, 0)
config.args.options = ACH:MultiSelect(' ', nil, 1, { tank = L["Show For Tanks"], healer = L["Show For Healers"], damager = L["Show For DPS"], combatHide = L["Hide In Combat"] }, nil, nil, function(_, key) return E.db.unitframe.units[groupName].roleIcon[key] end, function(_, key, value) E.db.unitframe.units[groupName].roleIcon[key] = value updateFunc(UF, groupName, numGroup) end)
config.args.position = ACH:Select(L["Position"], nil, 2, C.Values.AllPoints)
Expand Down

0 comments on commit 701b619

Please sign in to comment.