Verified Commit 5205fc7c authored by Repooc's avatar Repooc
Browse files

temp fix for merchant

parent c04be3b2
......@@ -36,13 +36,13 @@ local function SkinVendorItems(i)
icon:SetTexCoord(unpack(E.TexCoords))
icon:SetInside()
iconBorder:SetAlpha(0)
hooksecurefunc(iconBorder, 'SetVertexColor', function(self, r, g, b)
self:GetParent():SetBackdropBorderColor(r, g, b)
self:SetTexture("")
end)
hooksecurefunc(iconBorder, 'Hide', function(self)
self:GetParent():SetBackdropBorderColor(unpack(E.media.bordercolor))
end)
-- hooksecurefunc(iconBorder, 'SetVertexColor', function(self, r, g, b)
-- self:GetParent():SetBackdropBorderColor(r, g, b)
-- self:SetTexture("")
-- end)
-- hooksecurefunc(iconBorder, 'Hide', function(self)
-- self:GetParent():SetBackdropBorderColor(unpack(E.db.general.bordercolor))
-- end)
_G["MerchantItem"..i.."MoneyFrame"]:ClearAllPoints()
_G["MerchantItem"..i.."MoneyFrame"]:Point("BOTTOMLEFT", button, "BOTTOMRIGHT", 3, 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment