bags: specify cooldown animation visibility

This commit is contained in:
shagu
2020-10-04 18:55:21 +02:00
parent e4353471e6
commit 32dd17fa68
+1
View File
@@ -346,6 +346,7 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function ()
local name = "pfBag" .. bag .. "item" .. slot .. "Cooldown"
bankslot.cd = CreateFrame(COOLDOWN_FRAME_TYPE, name, bankslot, "CooldownFrameTemplate")
bankslot.cd:SetAllPoints(bankslot)
bankslot.cd.pfCooldownStyleAnimation = 1
bankslot.cd.pfCooldownType = "ALL"
else
local bagslot = pfUI.bags[bag].slots[slot].frame