Skip to content

Commit

Permalink
Revert the the item change fix for wrapped presents. (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidan authored Aug 26, 2022
1 parent a62e3f4 commit e60ab7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions widgets/ContainerFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -659,9 +659,9 @@ function containerProto:UpdateContent(bag)
if sameItem then
-- Items that are the same item but have mutated are marked as "new" to make them more visble.
-- However, only things with a new texture are marked as new, i.e. wrapped items.
if prevTexture ~= texture and equipSlot ~= prevEquipSlot then
sameChanged[slotData.slotId] = slotData
addon:SendMessage('AdiBags_AddNewItem', slotData.link)
if prevTexture ~= texture then
changed[slotData.slotId] = slotData
--addon:SendMessage('AdiBags_AddNewItem', slotData.link)
else
changed[slotData.slotId] = slotData
end
Expand Down

0 comments on commit e60ab7b

Please sign in to comment.