#3046 Fixed liniting issue

This commit is contained in:
ashishj
2022-05-17 19:28:23 +02:00
parent 85062ac570
commit 91d5c7ed71

View File

@@ -408,8 +408,8 @@ const drawBranches = (svg, branches) => {
const gitGraphConfig = getConfig().gitGraph;
const g = svg.append('g');
branches.forEach((branch, index) => {
let adjustIndexForTheme = index >= 8 ? index - 8 : index;
let adjustIndexForTheme = (index>=8?index-8:index);
const pos = branchPos[branch.name].pos;
const line = g.append('line');
line.attr('x1', 0);