diff options
-rw-r--r-- | js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js index 7394d42e..f8f4f6b8 100644 --- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js +++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |||
@@ -476,9 +476,8 @@ 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 | var currentKeyFrameRuleLength = this.currentKeyframeRule.length; | 479 | |
480 | 480 | for (i =0; this.currentKeyframeRule[i] ;i++) { | |
481 | for (i =0; i<currentKeyFrameRuleLength ;i++) { | ||
482 | var newTween = {}; | 481 | var newTween = {}; |
483 | 482 | ||
484 | offsetAttribute = this.currentKeyframeRule[i].cssText.split(" "); | 483 | offsetAttribute = this.currentKeyframeRule[i].cssText.split(" "); |