aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Tween.reel
diff options
context:
space:
mode:
authorKruti Shah2012-06-27 12:40:22 -0700
committerKruti Shah2012-06-27 12:40:22 -0700
commitf57b0fe3640dbb4aa2e355d165225bc267c134c2 (patch)
tree06ce918af1a702bff44a32a7699014be3b6406a0 /js/panels/Timeline/Tween.reel
parent18231c8342e7dac7547842c8a2007ac7ecd046df (diff)
downloadninja-f57b0fe3640dbb4aa2e355d165225bc267c134c2.tar.gz
Bug Fix : PI changes in Position updates the hottest in timeline & Keyframes deselection help apply style property
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
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 b8fe8b8d..369b270a 100644
--- a/js/panels/Timeline/Tween.reel/Tween.js
+++ b/js/panels/Timeline/Tween.reel/Tween.js
@@ -221,7 +221,8 @@ 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" || eventDetail.source === "timeline") { 224
225 if (eventDetail.source === "SelectionTool" || eventDetail.source === "timeline" || eventDetail.source === "pi") {
225 if(this.parentComponent.parentComponent.animatedElement.offsetTop != this.tweenedProperties["top"]){ 226 if(this.parentComponent.parentComponent.animatedElement.offsetTop != this.tweenedProperties["top"]){
226 this.tweenedProperties["top"] = this.parentComponent.parentComponent.animatedElement.offsetTop + "px"; 227 this.tweenedProperties["top"] = this.parentComponent.parentComponent.animatedElement.offsetTop + "px";
227 } 228 }