bags: update pushed textures of item slots

This commit is contained in:
shagu
2020-12-07 17:36:29 +01:00
parent 9ed72e4d42
commit bbf4e860b7
+6
View File
@@ -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