Skip to content
Snippets Groups Projects
Commit 53fde398 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #9607: disable dependencies when there are too many tasks in view

parent e13615ca
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ ganttProjectControllerMod.controller('GanttProjectController', ['$scope', 'dataS
}
//only enable dependencies (arrows between tasks) in detailed view
$scope.options.dependencies = (fullTimespanInMinutes <= 6*60) || numTasks < 20;
$scope.options.dependencies = (fullTimespanInMinutes <= 6*60 && numTasks <= 100) || numTasks < 20;
//start with aggregating all tasks per type,
//and plot these in the upper rows,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment