WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Cooldown switch blinking (https://www.wowinterface.com/forums/showthread.php?t=52952)

Benalish 12-05-15 09:10 AM

Cooldown switch blinking
 
Ok, I managed to solve my problems with Masque :D 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 :)


All times are GMT -6. The time now is 05:06 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI