diff options
Diffstat (limited to 'js/panels/Timeline/Tween.reel')
-rw-r--r-- | js/panels/Timeline/Tween.reel/Tween.js | 3 |
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 | } |