aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Tween.reel
diff options
context:
space:
mode:
authorJon Reid2012-05-03 18:06:06 -0700
committerJon Reid2012-05-03 18:06:06 -0700
commit7fc185cc08b2ba912dbc7bce96f6a465c1dd6dbf (patch)
treee5d5c48dffff901cd699037346fb509d7998691a /js/panels/Timeline/Tween.reel
parentd582eb28c04eb8e1f1fa7a729ee20f2e7a0fb935 (diff)
downloadninja-7fc185cc08b2ba912dbc7bce96f6a465c1dd6dbf.tar.gz
Timeline: More work on tween drag-and-drop
Diffstat (limited to 'js/panels/Timeline/Tween.reel')
-rw-r--r--js/panels/Timeline/Tween.reel/Tween.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js
index 8b6826ed..b4c3bd86 100644
--- a/js/panels/Timeline/Tween.reel/Tween.js
+++ b/js/panels/Timeline/Tween.reel/Tween.js
@@ -136,6 +136,7 @@ var Tween = exports.Tween = Montage.create(Component, {
136 136
137 draw:{ 137 draw:{
138 value:function () { 138 value:function () {
139 console.log("Tween.draw")
139 this.element.style.left = this.spanPosition + "px"; 140 this.element.style.left = this.spanPosition + "px";
140 this.keyframe.position = this.spanWidth; 141 this.keyframe.position = this.spanWidth;
141 this.tweenspan.spanWidth = this.spanWidth; 142 this.tweenspan.spanWidth = this.spanWidth;
@@ -147,6 +148,7 @@ var Tween = exports.Tween = Montage.create(Component, {
147 148
148 setData:{ 149 setData:{
149 value:function(){ 150 value:function(){
151 console.log("Tween.setData")
150 this.spanWidth = this.tweenData.spanWidth; 152 this.spanWidth = this.tweenData.spanWidth;
151 this.keyFramePosition = this.tweenData.keyFramePosition; 153 this.keyFramePosition = this.tweenData.keyFramePosition;
152 this.spanPosition = this.tweenData.spanPosition; 154 this.spanPosition = this.tweenData.spanPosition;