From 79b845869a02284b4858a75a4b45ea042d3355cf Mon Sep 17 00:00:00 2001 From: Aquiles Oliveira de Souza Date: Wed, 16 Nov 2022 13:34:47 -0300 Subject: [PATCH] Start-to-end dependency rule tuning --- src/components/other/arrow.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/other/arrow.tsx b/src/components/other/arrow.tsx index f26f72eae..e2d8922ec 100644 --- a/src/components/other/arrow.tsx +++ b/src/components/other/arrow.tsx @@ -94,11 +94,9 @@ const drownPathAndTriangle = ( return `M ${taskFrom.x1} ${taskFrom.y + taskHeight / 2} h ${-arrowIndent} v ${(indexCompare * rowHeight) / 2} - ${taskFromEndPosition > taskTo.x2 + arrowIndent + 10 ? "" : `H ${taskTo.x2 + arrowIndent}`} + H ${taskTo.x2 + arrowIndent} V ${taskToEndPosition} - h ${taskFromEndPosition < taskTo.x2 - ? -arrowIndent - : taskTo.x2 - taskFrom.x1 - arrowIndent}`; + h ${-arrowIndent}`; } const endToEndPath = () => {