aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorJonathan Duran2012-05-15 01:22:47 -0700
committerJonathan Duran2012-05-15 01:22:47 -0700
commit7cf24d4adf741deae04728f9c091e11c2876a8df (patch)
tree1a8c33f90ffca227ae19b409791882cb47a0c03c /js/panels
parent50211638adcff654194301ce5d5a6fd6f283c8e1 (diff)
downloadninja-7cf24d4adf741deae04728f9c091e11c2876a8df.tar.gz
update stage element on sub prop keyframe select
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/Timeline/Tween.reel/Tween.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js
index 3c0223c1..30678beb 100644
--- a/js/panels/Timeline/Tween.reel/Tween.js
+++ b/js/panels/Timeline/Tween.reel/Tween.js
@@ -278,6 +278,12 @@ var Tween = exports.Tween = Montage.create(Component, {
278 278
279 if(this.parentComponent.parentComponent.isSubproperty){ 279 if(this.parentComponent.parentComponent.isSubproperty){
280 // set property specific style on element 280 // set property specific style on element
281 var currentValue = this.tweenedProperties[this.parentComponent.parentComponent.trackEditorProperty];
282
283
284
285 this.application.ninja.elementMediator.setProperty([this.parentComponent.parentComponent.animatedElement], this.parentComponent.parentComponent.trackEditorProperty, [currentValue], "Change", "tween");
286
281 } else { 287 } else {
282 // move animated element to correct position on stage 288 // move animated element to correct position on stage
283 var currentTop = this.tweenedProperties["top"] + "px"; 289 var currentTop = this.tweenedProperties["top"] + "px";