Skip to content
Browse files

Fix for paused config prop on Timeline.

Signed-off-by: Grant Skinner <info@gskinner.com>
  • Loading branch information...
2 parents c3ab263 + 8d005e1 commit 0aec438076a9d1d6bfb7a7c0c5070b66495bfc4c @gskinner gskinner committed Apr 13, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/tweenjs/Timeline.js
View
3 src/tweenjs/Timeline.js
@@ -131,7 +131,8 @@ var p = Timeline.prototype;
}
if (tweens) { this.addTween.apply(this, tweens); }
this.setLabels(labels);
- if (!props||!props.paused) { Tween._register(this,true); }
+ if (props&&props.paused) { this._paused=true; }
+ else { Tween._register(this,true); }
if (props&&props.position!=null) { this.setPosition(props.position, Tween.NONE); }
}

0 comments on commit 0aec438

Please sign in to comment.
Something went wrong with that request. Please try again.