I've scoured the internet about this and I've tried everything to no avail. One thing I've read is that trying to hide the cooldown swipe is more or less bugged? I was curious if this was the case. The code below was what I've found along my googling.
Lua Code:
local Frame = CreateFrame("Frame") -- Icon frame
Frame.CD = CreateFrame("Cooldown", name.."CD", Frame, "CooldownFrameTemplate");
Frame.CD:SetAllPoints(Frame);
local function ToggleCooldownSwipe(object,arg1)
local cooldown = _G[object:GetName()]
if (not arg1) then
cooldown:SetSwipeColor(0,0,0,0)
cooldown:SetHideCountdownNumbers(true)
cooldown:Hide() -- just showing that I've tried this
cooldown:SetAlpha(0) -- just showing that I've tried this
else
cooldown:SetSwipeColor(1,1,1,1)
cooldown:SetHideCountdownNumbers(false)
cooldown:Hide() -- just showing that I've tried this
cooldown:SetAlpha(0) -- just showing that I've tried this
end
cooldown:SetDrawSwipe(arg1)
cooldown:SetDrawEdge(arg1)
cooldown:SetDrawBling(arg1)
end
ToggleCooldownSwipe(Frame.CD,false)
Thanks for any help!