From 10eb90abb590d53ea95f65d2bbb231499914cc5c Mon Sep 17 00:00:00 2001 From: Antonio Lobato Date: Sat, 25 Nov 2023 00:48:09 -0800 Subject: [PATCH] Added new border glow texture for menu button. --- frames/bag.lua | 7 ++++--- textures/glow.png | Bin 0 -> 5873 bytes 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 textures/glow.png diff --git a/frames/bag.lua b/frames/bag.lua index c22cb0c7..f408f9b8 100644 --- a/frames/bag.lua +++ b/frames/bag.lua @@ -456,10 +456,11 @@ function bagFrame:Create(kind) --bagButton:ClearBackdrop() --bagButton:SetNormalTexture([[Interface\Icons\INV_Misc_Bag_07]]) bagButton:SetHighlightTexture([[Interface\Buttons\CheckButtonHilight]]) - bagButton:SetWidth(38) - bagButton:SetHeight(38) + bagButton:SetHighlightTexture([[Interface\AddOns\BetterBags\Textures\glow.png]]) + bagButton:SetWidth(40) + bagButton:SetHeight(40) --bagButton:SetPoint("LEFT", leftHeader, "LEFT", 4, 0) - bagButton:SetPoint("TOPLEFT", b.frame.PortraitContainer, "TOPLEFT", -5, 0) + bagButton:SetPoint("TOPLEFT", b.frame.PortraitContainer, "TOPLEFT", -6, 2) bagButton:SetScript("OnEnter", function() GameTooltip:SetOwner(bagButton, "ANCHOR_LEFT") if kind == const.BAG_KIND.BACKPACK then diff --git a/textures/glow.png b/textures/glow.png new file mode 100644 index 0000000000000000000000000000000000000000..4d00ad9efd7d943a9484c7be73b245a347edecc8 GIT binary patch literal 5873 zcmVS^r1nadWEF;6Ny5y%ILD#STJJO8{B%KXF6hNZ^)f3*fjH+#e*6&qu^L;6g?wEtW z{HaJr8DHNQB0e1fZQzj6yRgOf=l?HBZ(GsmoJ&C3fNubzH7TpWV*_ns05{vS``^9B zV*dzO043Mn_MfKzFGfJnfCR{ZjQq@ymw)oR*t}o&8+@>Ev^MHd{HmojyjN)hKXwfS zNr~60;LE9f^zApOj@m>#Kaid4+4B>ybKO!~JQ)tS@VDO~>2EASMZHp%fL$@8noMx> z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