bennyxqg / eaze-tween

Automatically exported from code.google.com/p/eaze-tween
0 stars 0 forks source link

colorMatrix bugs #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello !

I'm currently using eaze in a project and I'm encounter two bug with the
use of the colorMatrix method.

Here is the problems :
- When I use colorMatrix just after apply() method, the filter won't apply.
Ex: eaze( target ).apply().colorMatrix( 1 );
I've to use eaze( target ).to( .001 ).colorMatrix( 1 ) to fix it.

- When I use colorMatrix just after the "delay" method, the filter act as
if I was using the "to" method.
Ex: eaze( target ).delay( 5 ).colorMatrix( 1 );
Will fade in 5 seconds.
It's equal to eaze( target ).to( 5 ).colorMatrix( 1 );

Voilà ! :)
Anyway, eaze rocks !

Original issue reported on code.google.com by Florian....@gmail.com on 19 Apr 2010 at 8:50

GoogleCodeExporter commented 8 years ago
Previously fixed already: 
eaze(target).delay(5).apply().colorMatrix( -1);

Won't fix because internally a delay is just a shorthand for an empty .to():
eaze( target ).delay( 5 ).colorMatrix( 1 );

Original comment by philippe...@gmail.com on 9 May 2010 at 6:16