aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Tween.reel
diff options
context:
space:
mode:
authorJonathan Duran2012-05-16 14:02:58 -0700
committerJonathan Duran2012-05-16 14:02:58 -0700
commit6f86dcc9df20727155f7507f4998baee38b8d01a (patch)
treed88c1878ef1d503a67ac5968bf7ddb5d8eaa6f84 /js/panels/Timeline/Tween.reel
parenta5e3eb0cec55858cf911bffc429ce1de817a60ef (diff)
downloadninja-6f86dcc9df20727155f7507f4998baee38b8d01a.tar.gz
Fix restore tween for main layer track with multiple animation names
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels/Timeline/Tween.reel')
-rw-r--r--js/panels/Timeline/Tween.reel/Tween.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js
index b61b0ca9..de6a8d56 100644
--- a/js/panels/Timeline/Tween.reel/Tween.js
+++ b/js/panels/Timeline/Tween.reel/Tween.js
@@ -271,7 +271,7 @@ var Tween = exports.Tween = Montage.create(Component, {
271 // set property specific style on element 271 // set property specific style on element
272 var currentValue = this.tweenedProperties[this.parentComponent.parentComponent.trackEditorProperty]; 272 var currentValue = this.tweenedProperties[this.parentComponent.parentComponent.trackEditorProperty];
273 this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], this.parentComponent.parentComponent.trackEditorProperty, [currentValue], "Change", "tween"); 273 this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], this.parentComponent.parentComponent.trackEditorProperty, [currentValue], "Change", "tween");
274 //console.log(currentValue); 274 console.log(currentValue);
275 } else { 275 } else {
276 // move animated element to correct position on stage 276 // move animated element to correct position on stage
277 var currentTop = this.tweenedProperties["top"] + "px"; 277 var currentTop = this.tweenedProperties["top"] + "px";