aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Tween.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/Tween.reel')
-rw-r--r--js/panels/Timeline/Tween.reel/Tween.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js
index e5288ad9..e2d152e9 100644
--- a/js/panels/Timeline/Tween.reel/Tween.js
+++ b/js/panels/Timeline/Tween.reel/Tween.js
@@ -6,6 +6,8 @@
6 6
7var Montage = require("montage/core/core").Montage; 7var Montage = require("montage/core/core").Montage;
8var Component = require("montage/ui/component").Component; 8var Component = require("montage/ui/component").Component;
9var ElementsMediator = require("js/mediators/element-mediator").ElementMediator;
10
9 11
10var Tween = exports.Tween = Montage.create(Component, { 12var Tween = exports.Tween = Montage.create(Component, {
11 13
@@ -275,7 +277,6 @@ var Tween = exports.Tween = Montage.create(Component, {
275 // set property specific style on element 277 // set property specific style on element
276 var currentValue = this.tweenedProperties[this.parentComponent.parentComponent.trackEditorProperty]; 278 var currentValue = this.tweenedProperties[this.parentComponent.parentComponent.trackEditorProperty];
277 this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], this.parentComponent.parentComponent.trackEditorProperty, [currentValue], "Change", "tween"); 279 this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], this.parentComponent.parentComponent.trackEditorProperty, [currentValue], "Change", "tween");
278 console.log(currentValue);
279 } else { 280 } else {
280 // move animated element to correct position on stage 281 // move animated element to correct position on stage
281 var currentTop = this.tweenedProperties["top"]; 282 var currentTop = this.tweenedProperties["top"];