From b04ec7f52265a27e9d72a3738fa474cfaefcdcd9 Mon Sep 17 00:00:00 2001
From: vkalev <vjk1883@gmail.com>
Date: Sat, 21 Aug 2021 16:55:55 -0400
Subject: added unrounded endpoints for highlight ink strokes

---
 src/client/util/InteractionUtils.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/client/util/InteractionUtils.tsx')

diff --git a/src/client/util/InteractionUtils.tsx b/src/client/util/InteractionUtils.tsx
index 15a6709a2..a11c090a7 100644
--- a/src/client/util/InteractionUtils.tsx
+++ b/src/client/util/InteractionUtils.tsx
@@ -217,8 +217,8 @@ export namespace InteractionUtils {
                     pointerEvents: pevents as any,
                     stroke: color ?? "rgb(0, 0, 0)",
                     strokeWidth: strokeWidth,
-                    strokeLinejoin: "round",
-                    strokeLinecap: "round",
+                    strokeLinejoin: color === "rgba(245, 230, 95, 0.75)" ? "miter" : "round",
+                    strokeLinecap: color === "rgba(245, 230, 95, 0.75)" ? "square" : "round",
                     strokeDasharray: dashArray
                 }}
                 markerStart={`url(#${arrowStart + "Start" + defGuid})`}
-- 
cgit v1.2.3-70-g09d2

