update MerchantBuyBackItemItemButton

This commit is contained in:
Crum
2018-01-12 15:19:43 -06:00
parent 6693c0a6a7
commit 9a15ecbeaf
@@ -102,6 +102,10 @@ local function LoadSkin()
end
end
HookScript(MerchantBuyBackItemItemButton, "OnEvent", function()
this:SetBackdropBorderColor(unpack(E["media"].bordercolor))
end)
local buybackName = GetBuybackItemInfo(GetNumBuybackItems())
if buybackName then
local itemLink = GetItemLinkByName(buybackName)