diff --git a/UI/BagFrame.lua b/UI/BagFrame.lua index 879c7ac..cd4f7c0 100644 --- a/UI/BagFrame.lua +++ b/UI/BagFrame.lua @@ -1338,6 +1338,22 @@ end -- OnLoad handler for bag slot buttons function Guda_BagSlot_OnLoad(button, bagID) + -- Hide borders from ItemButtonTemplate + local buttonName = button:GetName() + + -- Hide the normal texture border + local normalTexture = getglobal(buttonName .. "NormalTexture") + if normalTexture then + normalTexture:SetTexture(nil) + normalTexture:Hide() + end + + -- Hide icon border + local iconBorder = getglobal(buttonName .. "IconBorder") + if iconBorder then + iconBorder:Hide() + end + -- Set up the button with proper ID -- For bags 1-4, we need to get the inventory slot ID if bagID == 0 then diff --git a/UI/BagFrame.xml b/UI/BagFrame.xml index 10b8066..26f1db2 100644 --- a/UI/BagFrame.xml +++ b/UI/BagFrame.xml @@ -281,7 +281,7 @@ - + @@ -405,7 +405,7 @@ - +