From 595d0156ea4d7be29a6300c011a343fda81f1ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Mon, 3 Nov 2014 17:38:09 +0100 Subject: [PATCH] Adjust timeline width --- app/public/scripts/resultsCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/public/scripts/resultsCtrl.js b/app/public/scripts/resultsCtrl.js index 3312bfd..63e756d 100644 --- a/app/public/scripts/resultsCtrl.js +++ b/app/public/scripts/resultsCtrl.js @@ -122,7 +122,7 @@ app.controller('ResultsCtrl', function ($scope) { // Now read the tree and display it on a timeline // Split the timeline into 200 intervals - var numberOfIntervals = 200; + var numberOfIntervals = 199; var lastEvent = $scope.javascript.children[$scope.javascript.children.length - 1]; $scope.endTime = lastEvent.data.timestamp + (lastEvent.data.time || 0); $scope.timelineIntervalDuration = $scope.endTime / numberOfIntervals;