diff options
author | Jonathan Duran | 2012-02-09 09:09:01 -0800 |
---|---|---|
committer | Jonathan Duran | 2012-02-09 09:09:01 -0800 |
commit | 112ba5f5beea03010d40a53a64bfa9595e0faa88 (patch) | |
tree | e23d48f682f6b857f07c531de0fde4fc9c1b706b /js/panels/Timeline/Tween.reel | |
parent | fc7638f3921595f9a0cb0bd1687caf5451a7dd4d (diff) | |
download | ninja-112ba5f5beea03010d40a53a64bfa9595e0faa88.tar.gz |
Cleaning up more code and adding more models for timeline
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels/Timeline/Tween.reel')
-rw-r--r-- | js/panels/Timeline/Tween.reel/Tween.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js index 64e998c3..eddf1b17 100644 --- a/js/panels/Timeline/Tween.reel/Tween.js +++ b/js/panels/Timeline/Tween.reel/Tween.js | |||
@@ -92,17 +92,17 @@ var Tween = exports.Tween = Montage.create(Component, { | |||
92 | }, | 92 | }, |
93 | 93 | ||
94 | prepareForDraw:{ | 94 | prepareForDraw:{ |
95 | value:function(){ | 95 | value:function () { |
96 | this.keyframe.containingTrack = this.timelineTrack; | 96 | this.keyframe.containingTrack = this.timelineTrack; |
97 | this.keyframe.position = this.spanWidth; | ||
98 | this.keyframe.timelinePosition = this.keyFramePosition; | ||
99 | this.keyframe.id = this.keyframeID; | ||
97 | } | 100 | } |
98 | }, | 101 | }, |
99 | 102 | ||
100 | draw:{ | 103 | draw:{ |
101 | value:function(){ | 104 | value:function () { |
102 | this.span.spanWidth = this.spanWidth; | 105 | this.span.spanWidth = this.spanWidth; |
103 | this.keyframe.position = this.spanWidth; | ||
104 | this.keyframe.timelinePosition = this.keyFramePosition; | ||
105 | this.keyframe.id = this.keyframeID; | ||
106 | this.tweencontainer.style.left = this.spanPosition + "px"; | 106 | this.tweencontainer.style.left = this.spanPosition + "px"; |
107 | } | 107 | } |
108 | } | 108 | } |