CooldownReadyFlashDisabler

5.8k Downloads

This tiny addon universally disables the "bling" flash animations on action buttons whenever cooldowns become ready. The "bling" flash animations look to me like unnecessary glare that obscures the icons when I am playing a new class and learning its icons, so this addon improves visibility of your action buttons after each cooldown so you can see the entire button graphics more clearly.

Its entire code is the following:

for k,v in pairs(_G) do
    if type(v)=="table" and type(v.SetDrawBling)=="function" then
        v:SetDrawBling(false)
    end
end
hooksecurefunc(getmetatable(ActionButton1Cooldown).__index, 'SetCooldown', function(self)
    self:SetDrawBling(false)
end)

Thanks to nevcairiel and Semlar for helping me with its specific code.

Warning: This disables "bling" on the relevant Cooldown UIObject any time SetCooldown is called. This means that you won't be able to enable SetDrawBling without disabling this addon and reloading UI. It is good only for users who wish to never see the "bling" animation on any buttons.