Commit efc86f9711240f0fef09ba15ec0fc575a8d7673e
1 parent
f33a80a5
Exists in
master
and in
4 other branches
small refactoring for branch-graph.js
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
vendor/assets/javascripts/branch-graph.js
... | ... | @@ -79,10 +79,10 @@ function branchGraph(holder) { |
79 | 79 | .attr({stroke: colors[c.space], "stroke-width": 2}); |
80 | 80 | |
81 | 81 | } else if (c.space < commits[i].space) { |
82 | - r.path(["M", x - 5, y + .0001, "l-5-2,0,4,5,-2C",x-5,y,x -17, y+2, x -20, y-10,"L", cx,y-10,cx , cy]) | |
82 | + r.path(["M", x - 5, y + .0001, "l-5-2,0,4,5,-2C", x - 5, y, x - 17, y + 2, x - 20, y - 10, "L", cx, y - 10, cx, cy]) | |
83 | 83 | .attr({stroke: colors[commits[i].space], "stroke-width": 2}); |
84 | 84 | } else { |
85 | - r.path(["M", x-5, y, "l-5-2,0,4,5,-2C",x-5,y,x -17, y-2, x -20, y+10,"L", cx,y+10,cx , cy]) | |
85 | + r.path(["M", x - 5, y, "l-5-2,0,4,5,-2C", x - 5, y, x - 17, y - 2, x - 20, y + 10, "L", cx, y + 10, cx, cy]) | |
86 | 86 | .attr({stroke: colors[commits[i].space], "stroke-width": 2}); |
87 | 87 | } |
88 | 88 | } | ... | ... |