Skip to content

Commit

Permalink
fix: Another LFGList layer change - missed previously - #116
Browse files Browse the repository at this point in the history
  • Loading branch information
arnvid committed May 26, 2024
1 parent 92b2fe8 commit 344314b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Skin/Interface/FrameXML/LFGList.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ do --[[ FrameXML\LFGList.lua ]]
function Hook.LFGListGroupDataDisplayEnumerate_Update(self, numPlayers, displayData, disabled, iconOrder)
local iconIndex = numPlayers;
for i=1, #self.Icons do
local icon = self.Icons[i]
local icon = self.Icons[i].RoleIcon
if i > numPlayers then
icon._auroraBorder:Hide();
icon._auroraBG:Hide();
Expand All @@ -70,7 +70,7 @@ do --[[ FrameXML\LFGList.lua ]]

for i=1, #iconOrder do
for j=1, displayData[iconOrder[i]] do
Base.SetTexture(self.Icons[iconIndex], "icon"..iconOrder[i])
Base.SetTexture(self.Icons[iconIndex].RoleIcon, "icon"..iconOrder[i])
self.Icons[iconIndex]:SetSize(14, 14)
iconIndex = iconIndex - 1;
if iconIndex < 1 then
Expand All @@ -80,7 +80,7 @@ do --[[ FrameXML\LFGList.lua ]]
end

for i=1, iconIndex do
local icon = self.Icons[i]
local icon = self.Icons[i].RoleIcon
icon:SetAlpha(0)
icon:SetSize(8, 8)

Expand Down

0 comments on commit 344314b

Please sign in to comment.