mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-23 04:20:50 +00:00
bags: specify cooldown animation visibility
This commit is contained in:
@@ -346,6 +346,7 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function ()
|
|||||||
local name = "pfBag" .. bag .. "item" .. slot .. "Cooldown"
|
local name = "pfBag" .. bag .. "item" .. slot .. "Cooldown"
|
||||||
bankslot.cd = CreateFrame(COOLDOWN_FRAME_TYPE, name, bankslot, "CooldownFrameTemplate")
|
bankslot.cd = CreateFrame(COOLDOWN_FRAME_TYPE, name, bankslot, "CooldownFrameTemplate")
|
||||||
bankslot.cd:SetAllPoints(bankslot)
|
bankslot.cd:SetAllPoints(bankslot)
|
||||||
|
bankslot.cd.pfCooldownStyleAnimation = 1
|
||||||
bankslot.cd.pfCooldownType = "ALL"
|
bankslot.cd.pfCooldownType = "ALL"
|
||||||
else
|
else
|
||||||
local bagslot = pfUI.bags[bag].slots[slot].frame
|
local bagslot = pfUI.bags[bag].slots[slot].frame
|
||||||
|
|||||||
Reference in New Issue
Block a user