aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
index a2aaa550..7394d42e 100644
--- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
+++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
@@ -476,7 +476,9 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, {
476 this.nextKeyframe = 0; 476 this.nextKeyframe = 0;
477 477
478 this.currentKeyframeRule = this.application.ninja.stylesController.getAnimationRuleWithName(this.animationName, this.application.ninja.currentDocument._document); 478 this.currentKeyframeRule = this.application.ninja.stylesController.getAnimationRuleWithName(this.animationName, this.application.ninja.currentDocument._document);
479 for (i =0; this.currentKeyframeRule[i] ;i++) { 479 var currentKeyFrameRuleLength = this.currentKeyframeRule.length;
480
481 for (i =0; i<currentKeyFrameRuleLength ;i++) {
480 var newTween = {}; 482 var newTween = {};
481 483
482 offsetAttribute = this.currentKeyframeRule[i].cssText.split(" "); 484 offsetAttribute = this.currentKeyframeRule[i].cssText.split(" ");