summaryrefslogtreecommitdiff
path: root/vendor/assets/javascripts
diff options
context:
space:
mode:
authorKoen Punt <koen@koenpunt.nl>2012-12-23 17:00:26 +0100
committerKoen Punt <koen@koenpunt.nl>2012-12-23 17:00:26 +0100
commit4ebee56acc589f0285fcad441b2619fd8eccdc74 (patch)
treeebbce073867d71207179fe31f4ff6f91186f7cf5 /vendor/assets/javascripts
parent6a932d0af511623ab2f9e9e00a28b0cbfd664372 (diff)
downloadgitlab-ce-4ebee56acc589f0285fcad441b2619fd8eccdc74.tar.gz
Skipping colors to get more contrast between colors
Diffstat (limited to 'vendor/assets/javascripts')
-rw-r--r--vendor/assets/javascripts/branch-graph.js4
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();
}
};