aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Duran2012-06-27 14:12:41 -0700
committerJonathan Duran2012-06-27 14:12:41 -0700
commit338d3fdadf3a4b758e855dd48b325ed3099443ea (patch)
treed71dc41fb83016aa8f783f3789b08d68fe802b2e
parent9bf5f2d57a0f3be95b6ae2b310531909a84fdb31 (diff)
parentdeefd070e5e6e793eef2c3d937e7b1a97b0f6830 (diff)
downloadninja-338d3fdadf3a4b758e855dd48b325ed3099443ea.tar.gz
Merge branch 'refs/heads/Timeline-local-kruti' into TimelineUber
-rw-r--r--js/panels/Timeline/Tween.reel/Tween.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js
index 369b270a..89f18f98 100644
--- a/js/panels/Timeline/Tween.reel/Tween.js
+++ b/js/panels/Timeline/Tween.reel/Tween.js
@@ -203,6 +203,10 @@ var Tween = exports.Tween = Montage.create(Component, {
203 // temp - testing var 203 // temp - testing var
204 var useAbsolute = true; 204 var useAbsolute = true;
205 205
206 if(event.detail.type === "cssChange"){
207 event.detail.source="cssPanelChange"
208 }
209
206 if (event.detail.source && event.detail.source !== "tween") { 210 if (event.detail.source && event.detail.source !== "tween") {
207 211
208 if(this.parentComponent.parentComponent.isSubproperty){ 212 if(this.parentComponent.parentComponent.isSubproperty){
@@ -222,7 +226,7 @@ var Tween = exports.Tween = Montage.create(Component, {
222 setTweenProperties:{ 226 setTweenProperties:{
223 value:function (eventDetail) { 227 value:function (eventDetail) {
224 228
225 if (eventDetail.source === "SelectionTool" || eventDetail.source === "timeline" || eventDetail.source === "pi") { 229 if (eventDetail.source === "SelectionTool" || eventDetail.source === "timeline" || eventDetail.source === "pi" || eventDetail.source === "cssPanelChange") {
226 if(this.parentComponent.parentComponent.animatedElement.offsetTop != this.tweenedProperties["top"]){ 230 if(this.parentComponent.parentComponent.animatedElement.offsetTop != this.tweenedProperties["top"]){
227 this.tweenedProperties["top"] = this.parentComponent.parentComponent.animatedElement.offsetTop + "px"; 231 this.tweenedProperties["top"] = this.parentComponent.parentComponent.animatedElement.offsetTop + "px";
228 } 232 }