From bbf4e860b79312d32d1f784ed0ecffee05e6fec3 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 7 Dec 2020 17:36:29 +0100 Subject: [PATCH] bags: update pushed textures of item slots --- modules/bags.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/bags.lua b/modules/bags.lua index 6e44090a..cedfcf40 100644 --- a/modules/bags.lua +++ b/modules/bags.lua @@ -343,6 +343,9 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function () local highlight = pfUI.bags[bag].slots[slot].frame:GetHighlightTexture() highlight:SetTexture(.5, .5, .5, .5) + local pushed = pfUI.bags[bag].slots[slot].frame:GetPushedTexture() + pushed:SetTexture(.5, .5, .5, .5) + -- add cooldown frame to bankslots if tpl == "BankItemButtonGenericTemplate" then local bankslot = pfUI.bags[bag].slots[slot].frame @@ -475,6 +478,9 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function () local highlight = frame.bagslots.slots[slot].frame:GetHighlightTexture() highlight:SetTexture(.5, .5, .5, .5) + local pushed = frame.bagslots.slots[slot].frame:GetPushedTexture() + pushed:SetTexture(.5, .5, .5, .5) + if frame == pfUI.bag.left then frame.bagslots.slots[slot].frame:SetID(slot + 4) frame.bagslots.slots[slot].frame.slot = slot + 3