Skip to content

Commit

Permalink
Update BagsRetail.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
tukz committed Oct 21, 2024
1 parent 61055ff commit 5d1a99c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Tukui/Modules/Inventory/BagsRetail.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@ function Bags:UpdateItems()
local IsActive = QuestInfo.isActive
local R, G, B

if Quality then
R, G, B = C_Item.GetItemQualityColor(Quality)
if Button.Backdrop then
if Quality then
R, G, B = C_Item.GetItemQualityColor(Quality)

Button.Backdrop:SetBorderColor(R, G, B)
else
Button.Backdrop:SetBorderColor(unpack(C.General.BorderColor))
Button.Backdrop:SetBorderColor(R, G, B)
else
Button.Backdrop:SetBorderColor(unpack(C.General.BorderColor))
end
end

-- Quest Items
Expand Down

0 comments on commit 5d1a99c

Please sign in to comment.