#3046 Fixed liniting issue
This commit is contained in:
parent
85062ac570
commit
91d5c7ed71
|
@ -408,8 +408,8 @@ const drawBranches = (svg, branches) => {
|
||||||
const gitGraphConfig = getConfig().gitGraph;
|
const gitGraphConfig = getConfig().gitGraph;
|
||||||
const g = svg.append('g');
|
const g = svg.append('g');
|
||||||
branches.forEach((branch, index) => {
|
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 pos = branchPos[branch.name].pos;
|
||||||
const line = g.append('line');
|
const line = g.append('line');
|
||||||
line.attr('x1', 0);
|
line.attr('x1', 0);
|
||||||
|
|
Loading…
Reference in New Issue