Cooldown switch blinking - WoWInterface
Thread Tools Display Modes
12-05-15, 09:10 AM   #1
A Theradrim Guardian
Benalish's Avatar
Join Date: Dec 2012
Posts: 60
Cooldown switch blinking

Ok, I managed to solve my problems with Masque now I have another small that I'm sure you'll be able to help me solve it.
Foreword: I know there are many addons that do the same thing that I have in mind, but I wish create one with my bare hands.
By the way, the addon that I plan to create is used to monitor buff and debuff through icons created with Button frame. Each icon can monitor more than an aura through an extremely user-friendly listview obviously giving priority to the first aura of the list. So, if for example the first aura in the list expires and is present another one after the first, of course the icon cooldown refreshes its duration, but the transition from the previous duration to the next is not smooth, and you can see a horrible flashing cooldown, and I wanted to ask how could I do to eliminate this blinking and make it more elegant.
Keep in mind that the button is not skinned by Masque, none of this happens. The event will refreshes upon OnUpdate, but if imposed a frequency value update very high (eg, 1 second) happens anyway

This is all it should be helpful to you
The vexatious cd blink: https://giphy.com/gifs/1iTHkTQHg2DN8Jsk
My code: http://nopaste.linux-dev.org/?876419

If you do need more feel free to ask
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Cooldown switch blinking

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off