Skip to content

Commit 6999c65

Browse files
committed
avoid overlapping lines when merging with past versions
1 parent 773d914 commit 6999c65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/components/Commit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ const Commit =
3232
return (
3333
<path
3434
key={p.index} fill="none" strokeWidth="2" stroke={pallet[p.lane % pallet.length]}
35-
d={`M${lane * 15 + 10},15 l5,5 h${(p.lane - lane) * 15 - 5} v${h - 5}`}
35+
d={`M${lane * 15 + 10},15 l5,5 h${(p.lane - lane) * 15 - 10} v${h - 10} l5,5`}
3636
/>
3737
);
3838
}
3939
return (
4040
<path
4141
key={p.index} fill="none" strokeWidth="2" stroke={pallet[p.lane % pallet.length]}
42-
d={`M${lane * 15 + 10},15 l-5,5 h${(p.lane - lane) * 15 + 5} v${h - 5}`}
42+
d={`M${lane * 15 + 10},15 l-5,5 h${(p.lane - lane) * 15 + 10} v${h - 10} l-5,5`}
4343
/>
4444
);
4545
}

0 commit comments

Comments
 (0)