View Single Post
08-31-16, 03:42 PM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
frame:CreateAnimation("Alpha") bug

I use the animation API to show/hide frames on mouseover.
https://github.com/zorker/rothui/blo...efader.lua#L26

It works really well but today I recognized a flaw. If the frame that I fade in has child frames with an alpha of 0 those frames will be faded in aswell unintentionally and become visible.

Instead of fading in the frame only all children are faded in aswell. Is there a to prevent this?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

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