diff options
author | Jonathan Duran | 2012-02-07 07:39:39 -0800 |
---|---|---|
committer | Jonathan Duran | 2012-02-07 07:39:39 -0800 |
commit | fd26b97aa192ef74d21f7517a2608bb9b8a35265 (patch) | |
tree | 54d74fcf7e29deb05f7a76529d2b25bb5f42b8b2 /js/panels | |
parent | 7303780d92bce267eafd3793476674edf17816c9 (diff) | |
download | ninja-fd26b97aa192ef74d21f7517a2608bb9b8a35265.tar.gz |
Fix timeline time markers
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels')
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index 67081cda..0dbcfa16 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -530,7 +530,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
530 | drawTimeMarkers:{ | 530 | drawTimeMarkers:{ |
531 | value:function(){ | 531 | value:function(){ |
532 | var i; | 532 | var i; |
533 | var totalMarkers = Math.floor(this.track_container.offsetWidth / 80); | 533 | var totalMarkers = Math.floor(this.time_markers.offsetWidth / 80); |
534 | for(i=0;i<totalMarkers;i++){ | 534 | for(i=0;i<totalMarkers;i++){ |
535 | var timeMark = document.createElement("div"); | 535 | var timeMark = document.createElement("div"); |
536 | var markValue = this.calculateTimeMarkerValue(i); | 536 | var markValue = this.calculateTimeMarkerValue(i); |