diff options
author | Jonathan Duran | 2012-03-26 11:49:48 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-03-26 11:49:48 -0700 |
commit | 5a977f2ac151766530c129e26edc39055d11c07f (patch) | |
tree | bae4d22bb9ea0782bcb4f665cb577ddcf40099eb /js/panels/Timeline/Tween.reel | |
parent | e93827d6c157c7648eb52e6c10b7f458b215b580 (diff) | |
download | ninja-5a977f2ac151766530c129e26edc39055d11c07f.tar.gz |
Fix bug with track properties getting over written
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.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js index 2b308d9a..77aeb4a7 100644 --- a/js/panels/Timeline/Tween.reel/Tween.js +++ b/js/panels/Timeline/Tween.reel/Tween.js | |||
@@ -203,6 +203,7 @@ var Tween = exports.Tween = Montage.create(Component, { | |||
203 | // move animated element to correct position on stage | 203 | // move animated element to correct position on stage |
204 | var currentTop = this.tweenedProperties["top"] + "px"; | 204 | var currentTop = this.tweenedProperties["top"] + "px"; |
205 | var currentLeft = this.tweenedProperties["left"] + "px"; | 205 | var currentLeft = this.tweenedProperties["left"] + "px"; |
206 | |||
206 | ElementsMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "top", [currentTop], "Change", "tween"); | 207 | ElementsMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "top", [currentTop], "Change", "tween"); |
207 | ElementsMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "left", [currentLeft], "Change", "tween"); | 208 | ElementsMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "left", [currentLeft], "Change", "tween"); |
208 | 209 | ||