Skip to content

Commit 79b8458

Browse files
Aquiles Oliveira de SouzaAquiles Oliveira de Souza
authored andcommitted
Start-to-end dependency rule tuning
1 parent eaf4837 commit 79b8458

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/components/other/arrow.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,9 @@ const drownPathAndTriangle = (
9494
return `M ${taskFrom.x1} ${taskFrom.y + taskHeight / 2}
9595
h ${-arrowIndent}
9696
v ${(indexCompare * rowHeight) / 2}
97-
${taskFromEndPosition > taskTo.x2 + arrowIndent + 10 ? "" : `H ${taskTo.x2 + arrowIndent}`}
97+
H ${taskTo.x2 + arrowIndent}
9898
V ${taskToEndPosition}
99-
h ${taskFromEndPosition < taskTo.x2
100-
? -arrowIndent
101-
: taskTo.x2 - taskFrom.x1 - arrowIndent}`;
99+
h ${-arrowIndent}`;
102100
}
103101

104102
const endToEndPath = () => {

0 commit comments

Comments
 (0)