diff options
Diffstat (limited to 'js/panels/Timeline/Tween.reel')
-rw-r--r-- | js/panels/Timeline/Tween.reel/Tween.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js index 63dabefe..3c0223c1 100644 --- a/js/panels/Timeline/Tween.reel/Tween.js +++ b/js/panels/Timeline/Tween.reel/Tween.js | |||
@@ -282,9 +282,14 @@ var Tween = exports.Tween = Montage.create(Component, { | |||
282 | // move animated element to correct position on stage | 282 | // move animated element to correct position on stage |
283 | var currentTop = this.tweenedProperties["top"] + "px"; | 283 | var currentTop = this.tweenedProperties["top"] + "px"; |
284 | var currentLeft = this.tweenedProperties["left"] + "px"; | 284 | var currentLeft = this.tweenedProperties["left"] + "px"; |
285 | var currentWidth = this.tweenedProperties["width"] + "px"; | ||
286 | var currentHeight = this.tweenedProperties["height"] + "px"; | ||
285 | 287 | ||
286 | this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "top", [currentTop], "Change", "tween"); | 288 | this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "top", [currentTop], "Change", "tween"); |
287 | this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "left", [currentLeft], "Change", "tween"); | 289 | this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "left", [currentLeft], "Change", "tween"); |
290 | this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "width", [currentWidth], "Change", "tween"); | ||
291 | this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], "height", [currentHeight], "Change", "tween"); | ||
292 | |||
288 | } | 293 | } |
289 | } | 294 | } |
290 | }, | 295 | }, |