diff options
author | Koen Punt <koen@koenpunt.nl> | 2012-12-23 17:00:26 +0100 |
---|---|---|
committer | Koen Punt <koen@koenpunt.nl> | 2012-12-23 17:00:26 +0100 |
commit | 4ebee56acc589f0285fcad441b2619fd8eccdc74 (patch) | |
tree | ebbce073867d71207179fe31f4ff6f91186f7cf5 /vendor | |
parent | 6a932d0af511623ab2f9e9e00a28b0cbfd664372 (diff) | |
download | gitlab-ce-4ebee56acc589f0285fcad441b2619fd8eccdc74.tar.gz |
Skipping colors to get more contrast between colors
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/assets/javascripts/branch-graph.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/assets/javascripts/branch-graph.js b/vendor/assets/javascripts/branch-graph.js index a7e1e152bd2..456c3ff6c1c 100644 --- a/vendor/assets/javascripts/branch-graph.js +++ b/vendor/assets/javascripts/branch-graph.js @@ -57,7 +57,9 @@ BranchGraph.prototype.collectColors = function(){ for (var k = 0; k < this.mspace; k++) { - this.colors.push(Raphael.getColor()); + this.colors.push(Raphael.getColor(.8)); + // Skipping a few colors in the spectrum to get more contrast between colors + Raphael.getColor();Raphael.getColor(); } }; |