aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorKruti Shah2012-06-27 09:24:17 -0700
committerKruti Shah2012-06-27 09:24:17 -0700
commitb52747edbeba7d210fca98acccb2d2df52134bca (patch)
tree3fcf756be7b71a88a96b1fb6ffa886e098a93cdd /js
parent442793352b352be9f2679fab2e5b4bad186f228a (diff)
downloadninja-b52747edbeba7d210fca98acccb2d2df52134bca.tar.gz
Bug Fix: Fix Animation for Position & Size Props
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js')
-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 2d4ae75d..b8fe8b8d 100644
--- a/js/panels/Timeline/Tween.reel/Tween.js
+++ b/js/panels/Timeline/Tween.reel/Tween.js
@@ -221,7 +221,7 @@ var Tween = exports.Tween = Montage.create(Component, {
221 221
222 setTweenProperties:{ 222 setTweenProperties:{
223 value:function (eventDetail) { 223 value:function (eventDetail) {
224 if (eventDetail.source === "SelectionTool") { 224 if (eventDetail.source === "SelectionTool" || eventDetail.source === "timeline") {
225 if(this.parentComponent.parentComponent.animatedElement.offsetTop != this.tweenedProperties["top"]){ 225 if(this.parentComponent.parentComponent.animatedElement.offsetTop != this.tweenedProperties["top"]){
226 this.tweenedProperties["top"] = this.parentComponent.parentComponent.animatedElement.offsetTop + "px"; 226 this.tweenedProperties["top"] = this.parentComponent.parentComponent.animatedElement.offsetTop + "px";
227 } 227 }