summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorSato Hiroyuki <sathiroyuki@gmail.com>2013-01-23 21:34:19 +0900
committerGitLab <gitlab@hiroponz.net>2013-01-23 21:39:29 +0900
commit70687cd5812a53ce574589f4f7ce6a6d683c2f07 (patch)
treef51da1a7b48802fe9a15afcc538cd010be29cb53 /vendor
parent65737bd5bd6eb65556699a176e69757a3ac8c37a (diff)
downloadgitlab-ce-70687cd5812a53ce574589f4f7ce6a6d683c2f07.tar.gz
Improve network graph
Diffstat (limited to 'vendor')
-rw-r--r--vendor/assets/javascripts/branch-graph.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/assets/javascripts/branch-graph.js b/vendor/assets/javascripts/branch-graph.js
index 805423bc70d..af3b572a4e3 100644
--- a/vendor/assets/javascripts/branch-graph.js
+++ b/vendor/assets/javascripts/branch-graph.js
@@ -121,7 +121,7 @@
if (c.space == this.commits[i].space) {
r.path([
"M", x, y,
- "L", x - 20 * (c.time + 1), y
+ "L", cx, cy
]).attr({
stroke: this.colors[c.space],
"stroke-width": 2
@@ -351,4 +351,4 @@ function textWrap(t, width) {
t.attr({
"y": b.y + h
});
-} \ No newline at end of file
+}