network graph: fixed minor visual artefacts
This commit is contained in:
parent
c31c84f58a
commit
163395793b
1 changed files with 1 additions and 1 deletions
2
vendor/assets/javascripts/branch-graph.js
vendored
2
vendor/assets/javascripts/branch-graph.js
vendored
|
@ -82,7 +82,7 @@ function branchGraph(holder) {
|
||||||
r.path(["M", x - 5, y + .0001, "l-5-2,0,4,5,-2C", x - 5, y, x - 17, y + 2, x - 20, y - 5, "L", cx, y - 5, cx, cy])
|
r.path(["M", x - 5, y + .0001, "l-5-2,0,4,5,-2C", x - 5, y, x - 17, y + 2, x - 20, y - 5, "L", cx, y - 5, cx, cy])
|
||||||
.attr({stroke: colors[commits[i].space], "stroke-width": 2});
|
.attr({stroke: colors[commits[i].space], "stroke-width": 2});
|
||||||
} else {
|
} else {
|
||||||
r.path(["M", x - 3, y + 4, "l-4,3,3,2,1,-4L", x - 10, y + 14, "L", x - 10, cy, cx, cy])
|
r.path(["M", x - 3, y + 6, "l-4,3,4,2,0,-5L", x - 10, y + 20, "L", x - 10, cy, cx, cy])
|
||||||
.attr({stroke: colors[c.space], "stroke-width": 2});
|
.attr({stroke: colors[c.space], "stroke-width": 2});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue