aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline
diff options
context:
space:
mode:
authorKruti Shah2012-02-29 12:41:23 -0800
committerKruti Shah2012-02-29 12:41:23 -0800
commit4422e9decf86cb0de707398c54acfb68a3728b32 (patch)
treea7185ab1a4216d724972a065dc70826a173e63a4 /js/panels/Timeline
parent6e28beaca4ebc740fdc637d65f0b966c59fd05d2 (diff)
downloadninja-4422e9decf86cb0de707398c54acfb68a3728b32.tar.gz
Timeline:Revert back to earlier code
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js/panels/Timeline')
-rw-r--r--js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js5
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(" ");