aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJonathan Duran2012-05-15 01:10:31 -0700
committerJonathan Duran2012-05-15 01:10:31 -0700
commit50211638adcff654194301ce5d5a6fd6f283c8e1 (patch)
tree4907e1ccd7d64b9f83482c9a808f708c9794d1ad /js
parent847276c1e62d55c10d059683e7180635aa994890 (diff)
downloadninja-50211638adcff654194301ce5d5a6fd6f283c8e1.tar.gz
fix bug with animation names string not reset on open doc
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js')
-rw-r--r--js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
index 8693e828..b55db18a 100644
--- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
+++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
@@ -726,6 +726,7 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, {
726 this.animatedElement = this.application.ninja.timeline.arrLayers[selectedIndex].layerData.elementsList[0]; 726 this.animatedElement = this.application.ninja.timeline.arrLayers[selectedIndex].layerData.elementsList[0];
727 if(this.animatedElement!==undefined){ 727 if(this.animatedElement!==undefined){
728 this.animationName = this.application.ninja.stylesController.getElementStyle(this.animatedElement, "-webkit-animation-name"); 728 this.animationName = this.application.ninja.stylesController.getElementStyle(this.animatedElement, "-webkit-animation-name");
729 this.animationNamesString = this.animationName;
729 if(this.animationName){ 730 if(this.animationName){
730 trackTiming = this.application.ninja.stylesController.getElementStyle(this.animatedElement, "-webkit-animation-duration"); 731 trackTiming = this.application.ninja.stylesController.getElementStyle(this.animatedElement, "-webkit-animation-duration");
731 this.nextKeyframe = 0; 732 this.nextKeyframe = 0;