-
Notifications
You must be signed in to change notification settings - Fork 663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strange behavior with opacity 0 #127
Comments
I'll have to take a closer look when I'm back at a computer but my first guess is the first time the fadeIn animation fires it isn't going from '0' - you can force this by setting 'to' and 'current' explicitly on 'opacity' bit generally I just have one for fadeIn and one for fadeOut and call them both with 'start' |
You are right! var fadeOut = new ui.Tween({ Thanks |
in addition, a want to change the border color, so I set borderColor both in Actor and Tween: note: (also I tried use current and to, but not works). you can view this if uncomment line 58 |
I think this line is the problem: ctrlcircle.toggle().reverse().then(ctrlcontact.toggle().reverse()); should be
ctrlcontact.toggle().reverse() On Tue, 8 Dec 2015 at 23:37 Juan Martin notifications@github.com wrote:
|
Sorry Matt, when I do that, this is the error: Uncaught RangeError: Maximum call stack size exceeded |
Ah I've found the source of this bug, I'll try to fix it today. Thanks |
@tinchox5 Should be fixed with |
Yeah thank you Matt! Also for add fillOpacity and strokeOpacity to svg role. |
@tinchox5 I saw another message somewhere but can't find it now about fillOpacity and strokeOpacity still not working but can't find it now. Try Thanks for letting me know, it's been a real help ironing out bugs. |
Animating the opacity doesn't work in the latest release. |
Matt, I have this pen http://codepen.io/tinchox5/pen/YwPREE
I defined some tweens, one is called fadeIn and another fadeOut. FadeIn (opacity:1) works perfect, but fadeOut (opacity:0) isn't working when I use toggle().reverse() . I mean the opacity style doesnt change when I monitoring via browser inspector tool (chrome).
You can see the problem touching the circle situated at the top left main circle.
Is it a kind of bug or my fault?
The text was updated successfully, but these errors were encountered: