From 1e320f4b66e25d78a6c942caa0bccc556f610fb2 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 19 Nov 2020 16:12:27 +0100 Subject: [PATCH] bags: remove old wow button highlights --- modules/bags.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/bags.lua b/modules/bags.lua index 23276df9..7159bc1f 100644 --- a/modules/bags.lua +++ b/modules/bags.lua @@ -340,6 +340,9 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function () pfUI.bags[bag].slots[slot] = {} pfUI.bags[bag].slots[slot].frame = CreateFrame("Button", "pfBag" .. bag .. "item" .. slot, pfUI.bags[bag], tpl) + local highlight = pfUI.bags[bag].slots[slot].frame:GetHighlightTexture() + highlight:SetTexture(.5, .5, .5, .5) + -- add cooldown frame to bankslots if tpl == "BankItemButtonGenericTemplate" then local bankslot = pfUI.bags[bag].slots[slot].frame