diff options
author | Jose Antonio Marquez | 2012-02-23 15:11:51 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-23 15:11:51 -0800 |
commit | bdc39718cacad2eab10a7d031ea10fda13c92a03 (patch) | |
tree | 5fa2ae85a15d8a5067fa6f608c2b285869264ead /js/panels/Timeline/Span.reel/Span.js | |
parent | 23b4bbd13345ecd5c00fda60b995a7fb2aab317c (diff) | |
parent | 41b69af7c0be3dd5fe4f772668862696af8b917a (diff) | |
download | ninja-bdc39718cacad2eab10a7d031ea10fda13c92a03.tar.gz |
Merge branch 'refs/heads/NinjaInternal' into FileIO
Conflicts:
js/controllers/document-controller.js
Diffstat (limited to 'js/panels/Timeline/Span.reel/Span.js')
-rw-r--r-- | js/panels/Timeline/Span.reel/Span.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/js/panels/Timeline/Span.reel/Span.js b/js/panels/Timeline/Span.reel/Span.js index f7bd4ff0..8114e74a 100644 --- a/js/panels/Timeline/Span.reel/Span.js +++ b/js/panels/Timeline/Span.reel/Span.js | |||
@@ -18,24 +18,19 @@ var Span = exports.Span = Montage.create(Component, { | |||
18 | }, | 18 | }, |
19 | set:function (value) { | 19 | set:function (value) { |
20 | this._spanWidth = value; | 20 | this._spanWidth = value; |
21 | } | 21 | this.needsDraw = true; |
22 | }, | ||
23 | |||
24 | prepareForDraw:{ | ||
25 | value:function(){ | ||
26 | |||
27 | } | 22 | } |
28 | }, | 23 | }, |
29 | 24 | ||
30 | draw:{ | 25 | draw:{ |
31 | value: function(){ | 26 | value: function(){ |
32 | this.tweenspan.style.width = this.spanWidth + "px"; | 27 | this.element.style.width = this.spanWidth + "px"; |
33 | } | 28 | } |
34 | }, | 29 | }, |
35 | 30 | ||
36 | highlightSpan:{ | 31 | highlightSpan:{ |
37 | value: function(){ | 32 | value: function(){ |
38 | this.tweenspan.classList.add("spanHighlight"); | 33 | this.element.classList.add("spanHighlight"); |
39 | } | 34 | } |
40 | } | 35 | } |
41 | }); | 36 | }); |