Open polco opened 8 years ago
This should be fixed, let me know if not.
so from what I tried, if i use the the method getDefaultTweener
and try calling silent(true) it doesn't turn off the warnings. If I created my own Tweener new TINA.Timer(1000)
, there is no more warning with or without calling silent(true)
. Maybe you should document this API on your readme by the way !
Anyway, i finally have a clean console log, thanks :dancer:
Thanks for the details. Actually I tried to reproduce the issue you describe but it seems to work properly. The code I tested is the following:
var defaultTweener = TINA.getDefaultTweener();
defaultTweener.silent(true);
var myArray = [0, 1, 2];
var myTween = TINA.Tween(myArray)
.to([0, 2, 4], 300)
.start();
myTween.stop();
myTween.stop();
No warning popped up.
Could you share the code for which you have the issue?
Calling silent(true) on the tweener doesn't remove the warning when calling stop on a tween that is not running. '[Playable.stop] Cannot stop a playable that is not running'