Commit 4ebee56acc589f0285fcad441b2619fd8eccdc74

Authored by Koen Punt
1 parent 6a932d0a

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  
... ...