view live mode on current character bag

This commit is contained in:
Salikh Gurgenidze
2025-11-21 17:02:06 +04:00
parent 9bd98bc95a
commit 153900a6d5
3 changed files with 115 additions and 33 deletions
+2 -1
View File
@@ -312,7 +312,8 @@ function BagFrame:DisplayItems(bagData, isOtherChar, charName)
button:SetPoint("TOPLEFT", itemContainer, "TOPLEFT", xPos, yPos)
-- Set item data with filter match info
Guda_ItemButton_SetItem(button, bagID, slot, itemData, false, isOtherChar and charName or nil, matchesFilter)
-- isReadOnly = true when viewing other characters (can't interact with their items)
Guda_ItemButton_SetItem(button, bagID, slot, itemData, false, isOtherChar and charName or nil, matchesFilter, isOtherChar)
table.insert(itemButtons, button)