Skip to content

Commit

Permalink
change queue status display fixes #1424
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Dec 6, 2024
1 parent 27c6071 commit 2a1c698
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/Misc/QueueStatus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function M:GetQueueStatusButton()
end

function M:LoadQueueStatus()
if (E.Retail and not E.private.actionbar.enable) and not E.private.general.queueStatus then return end
if (E.Retail and not E.private.actionbar.enable) or (not E.Retail and not E.private.general.minimap.enable) then return end

M.QueueStatus = CreateFrame('Frame', 'ElvUIQueueStatus', E.UIParent)
M.QueueStatus:Point('BOTTOMRIGHT', _G.ElvUI_MinimapHolder or _G.Minimap, 'BOTTOMRIGHT', -5, 25)
Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Options/Core/General.lua
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ blizz.addonCompartment.args.fontGroup.args.fontOutline = ACH:FontFlags(L["Font O
blizz.addonCompartment.args.fontGroup.inline = true

blizz.queueStatus = ACH:Group(L["Queue Status"], nil, 70, nil, function(info) return E.db.general.queueStatus[info[#info]] end, function(info, value) E.db.general.queueStatus[info[#info]] = value M:HandleQueueStatus() end)
blizz.queueStatus.args.enable = ACH:Toggle(L["Enable"], nil, 1, nil, nil, nil, function() return E.private.general.queueStatus end, function(_, value) E.private.general.queueStatus = value E.ShowPopup = true end, nil, function() return not E.Retail or E.private.actionbar.enable end)
blizz.queueStatus.args.enable = ACH:Toggle(L["Enable"], nil, 1, nil, nil, nil, function() return E.private.general.queueStatus end, function(_, value) E.private.general.queueStatus = value E.ShowPopup = true end, function() return (E.Retail and not E.private.actionbar.enable) or (not E.Retail and not E.private.general.minimap.enable) end)
blizz.queueStatus.args.scale = ACH:Range(L["Scale"], nil, 2, { min = 0.3, max = 1, step = 0.05 })
blizz.queueStatus.args.frameLevel = ACH:Range(L["Frame Level"], nil, 3, { min = 2, max = 128, step = 1 })
blizz.queueStatus.args.frameStrata = ACH:Select(L["Frame Strata"], nil, 4, C.Values.Strata)
Expand Down

0 comments on commit 2a1c698

Please sign in to comment.