BigW Consortium Gitlab

Commit 14c2a37d by Sato Hiroyuki

A tip is made slanting.

parent 38fce3de
...@@ -132,9 +132,10 @@ ...@@ -132,9 +132,10 @@
}); });
} else if (c.space < this.commits[i].space) { } else if (c.space < this.commits[i].space) {
if (y == psy) {
r.path([ r.path([
"M", x - 5, y, "M", x - 5, y,
"l-5-2,0,4,5,-2", "l-5,-2,0,4,5,-2",
"L", x - 10, y, "L", x - 10, y,
"L", x - 15, psy, "L", x - 15, psy,
"L", cx + 5, psy, "L", cx + 5, psy,
...@@ -145,6 +146,19 @@ ...@@ -145,6 +146,19 @@
}); });
} else { } else {
r.path([ r.path([
"M", x - 3, y - 6,
"l-4,-3,4,-2,0,5",
"L", x - 5, y - 10,
"L", x - 10, psy,
"L", cx + 5, psy,
"L", cx, cy])
.attr({
stroke: this.colors[this.commits[i].space],
"stroke-width": 2
});
}
} else {
r.path([
"M", x - 3, y + 6, "M", x - 3, y + 6,
"l-4,3,4,2,0,-5", "l-4,3,4,2,0,-5",
"L", x - 5, y + 10, "L", x - 5, y + 10,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment