actionbar: add cooldown to shapeshift buttons

This commit is contained in:
shagu
2018-04-10 17:54:44 +02:00
parent bc5a659470
commit fe1bfa7e23
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -533,6 +533,9 @@ pfUI:RegisterModule("actionbar", function ()
button:SetWidth(C.bars.icon_size)
button:SetHeight(C.bars.icon_size)
local cooldown = _G["ShapeshiftButton"..i..'Cooldown']
cooldown.pfCooldownType = "NOGCD"
local icon = _G["ShapeshiftButton"..i..'Icon']
icon:SetParent(button)
icon:SetAllPoints(button)