aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline
diff options
context:
space:
mode:
authorJonathan Duran2012-02-07 07:39:39 -0800
committerJonathan Duran2012-02-07 07:39:39 -0800
commitfd26b97aa192ef74d21f7517a2608bb9b8a35265 (patch)
tree54d74fcf7e29deb05f7a76529d2b25bb5f42b8b2 /js/panels/Timeline
parent7303780d92bce267eafd3793476674edf17816c9 (diff)
downloadninja-fd26b97aa192ef74d21f7517a2608bb9b8a35265.tar.gz
Fix timeline time markers
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels/Timeline')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js2
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);