mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-15 17:50:48 +00:00
bags: update pushed textures of item slots
This commit is contained in:
@@ -343,6 +343,9 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function ()
|
|||||||
local highlight = pfUI.bags[bag].slots[slot].frame:GetHighlightTexture()
|
local highlight = pfUI.bags[bag].slots[slot].frame:GetHighlightTexture()
|
||||||
highlight:SetTexture(.5, .5, .5, .5)
|
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
|
-- add cooldown frame to bankslots
|
||||||
if tpl == "BankItemButtonGenericTemplate" then
|
if tpl == "BankItemButtonGenericTemplate" then
|
||||||
local bankslot = pfUI.bags[bag].slots[slot].frame
|
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()
|
local highlight = frame.bagslots.slots[slot].frame:GetHighlightTexture()
|
||||||
highlight:SetTexture(.5, .5, .5, .5)
|
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
|
if frame == pfUI.bag.left then
|
||||||
frame.bagslots.slots[slot].frame:SetID(slot + 4)
|
frame.bagslots.slots[slot].frame:SetID(slot + 4)
|
||||||
frame.bagslots.slots[slot].frame.slot = slot + 3
|
frame.bagslots.slots[slot].frame.slot = slot + 3
|
||||||
|
|||||||
Reference in New Issue
Block a user