diff options
author | Jonathan Duran | 2012-07-02 08:45:08 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-07-02 08:45:08 -0700 |
commit | 2fa7782ef03fcbcd4cd176ca4850b764478da342 (patch) | |
tree | 6528ca932cc24a6615737a6149b00b5621040996 /js | |
parent | 19c9beab7cd744fa1476dbec3b34995d3c7e1d7a (diff) | |
download | ninja-2fa7782ef03fcbcd4cd176ca4850b764478da342.tar.gz |
select keyframe when first created
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/panels/Timeline/Tween.reel/Tween.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/panels/Timeline/Tween.reel/Tween.js b/js/panels/Timeline/Tween.reel/Tween.js index 89f18f98..fe9b70d3 100644 --- a/js/panels/Timeline/Tween.reel/Tween.js +++ b/js/panels/Timeline/Tween.reel/Tween.js | |||
@@ -170,6 +170,12 @@ var Tween = exports.Tween = Montage.create(Component, { | |||
170 | 170 | ||
171 | }, | 171 | }, |
172 | 172 | ||
173 | prepareForDraw:{ | ||
174 | value:function(){ | ||
175 | this.keyframe.selectKeyframe(); | ||
176 | } | ||
177 | }, | ||
178 | |||
173 | draw:{ | 179 | draw:{ |
174 | value:function () { | 180 | value:function () { |
175 | this.tweenspan.element.style.width = this.spanWidth + "px"; | 181 | this.tweenspan.element.style.width = this.spanWidth + "px"; |