Commit 2a390f5dc190db7af4105ef6c93f88dbcc3631bb

Authored by Dmitriy Zaporozhets
2 parents a5d7a958 4ebee56a

Merge pull request #2348 from koenpunt/graph-contrast

Skipping colors to get more contrast between colors
Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
vendor/assets/javascripts/branch-graph.js
... ... @@ -57,7 +57,9 @@
57 57  
58 58 BranchGraph.prototype.collectColors = function(){
59 59 for (var k = 0; k < this.mspace; k++) {
60   - this.colors.push(Raphael.getColor());
  60 + this.colors.push(Raphael.getColor(.8));
  61 + // Skipping a few colors in the spectrum to get more contrast between colors
  62 + Raphael.getColor();Raphael.getColor();
61 63 }
62 64 };
63 65  
... ...