From b52747edbeba7d210fca98acccb2d2df52134bca Mon Sep 17 00:00:00 2001 From: Kruti Shah Date: Wed, 27 Jun 2012 09:24:17 -0700 Subject: Bug Fix: Fix Animation for Position & Size Props Signed-off-by: Kruti Shah --- js/panels/Timeline/Tween.reel/Tween.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/panels') 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, { setTweenProperties:{ value:function (eventDetail) { - if (eventDetail.source === "SelectionTool") { + if (eventDetail.source === "SelectionTool" || eventDetail.source === "timeline") { if(this.parentComponent.parentComponent.animatedElement.offsetTop != this.tweenedProperties["top"]){ this.tweenedProperties["top"] = this.parentComponent.parentComponent.animatedElement.offsetTop + "px"; } -- cgit v1.2.3