Quantcast
WoWInterface - View Single Post - Optimizing a fade out
View Single Post
09-25-18, 05:41 AM   #2
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,739
Normally I use the animation api for fadein/out animations.
https://github.com/zorker/rothui/blo...efader.lua#L55

Though for the minimap I do not do that. I just use an onleave delay timer of 1 second to hide all minimap icons.
https://github.com/zorker/rothui/blo.../core.lua#L156
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote