Originally Posted by Xrystal
I have this set up for my mage portals addon and I am pretty sure I had the swipe stuff working on it.
Lua Code:
-- Get the cooldown informaton and if it is just the general cooldown, don't bother local cdStart, cdDuration, cdEnabled, cdRate = GetSpellCooldown(id) local cdDrawEdge = false if cdDuration and cdDuration < 2 then return end button.Cooldown:SetEdgeTexture("Interface\\Cooldown\\edge"); button.Cooldown:SetSwipeColor(1, 1, 0.8); >>>>>>>>>>>>>>> Missing this perhaps ? button.Cooldown:SetHideCountdownNumbers(false); button.Cooldown.currentCooldownType = COOLDOWN_TYPE_NORMAL; button.Cooldown:SetCooldown(cdStart, cdDuration) button.Cooldown:Show()
|
I've updated my code, but I still get the same behavior.