Skip to content

Commit

Permalink
Fix minor row stacking bug (#98)
Browse files Browse the repository at this point in the history
Co-authored-by: Rob Anderson <[email protected]>
  • Loading branch information
Mctalian and Rob Anderson authored Sep 4, 2024
1 parent f4a8b8f commit 3af516e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Features/ItemLoot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ local function showItemLoot(msg, itemLink)
if not G_RLF.db.global.itemQualityFilter[itemQuality] then
return
end
local itemId = itemLink:match("Hitem:(%d+)")
-- if G_RLF.db.global.onlyBetterThanEquipped and itemEquipLoc then
-- local equippedLink = GetInventoryItemLink("player", equipLocToSlotID[itemEquipLoc])
-- if equippedLink then
Expand All @@ -58,7 +59,7 @@ local function showItemLoot(msg, itemLink)
-- end

-- end
G_RLF.LootDisplay:ShowLoot(itemLink, itemLink, itemTexture, amount)
G_RLF.LootDisplay:ShowLoot(itemId, itemLink, itemTexture, amount)
end

function ItemLoot:CHAT_MSG_LOOT(_, ...)
Expand Down
2 changes: 1 addition & 1 deletion LootDisplay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -678,9 +678,9 @@ leaseRow = function(key)
end
end
end
row.key = key

rows:push(row)
row.key = key
row:Show()

-- Position the new row at the bottom of the frame
Expand Down

0 comments on commit 3af516e

Please sign in to comment.