Skip to content

Commit d4d1668

Browse files
Merge pull request #6 from AquilesOliveiraDev/feature/dependencies-type-and-arrows
Start-to-end dependency rule tuning
2 parents 56ecf42 + 79b8458 commit d4d1668

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
@@ -109,11 +109,9 @@ const drownPathAndTriangle = (
109109
return `M ${taskFrom.x1} ${taskFrom.y + taskHeight / 2}
110110
h ${-arrowIndent}
111111
v ${(indexCompare * rowHeight) / 2}
112-
${taskFromEndPosition > taskTo.x2 + arrowIndent + 10 ? "" : `H ${taskTo.x2 + arrowIndent}`}
112+
H ${taskTo.x2 + arrowIndent}
113113
V ${taskToEndPosition}
114-
h ${taskFromEndPosition < taskTo.x2
115-
? -arrowIndent
116-
: taskTo.x2 - taskFrom.x1 - arrowIndent}`;
114+
h ${-arrowIndent}`;
117115
}
118116

119117
const endToEndPath = () => {

0 commit comments

Comments
 (0)