aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvkalev <vjk1883@gmail.com>2021-08-21 16:55:55 -0400
committervkalev <vjk1883@gmail.com>2021-08-21 16:55:55 -0400
commitb04ec7f52265a27e9d72a3738fa474cfaefcdcd9 (patch)
treec3d5082f19ae1e4a25c936cbac9c7640a1c08a52 /src
parent7e439440a1d7fc3e3b29333b0502d6ed4d178309 (diff)
added unrounded endpoints for highlight ink strokes
Diffstat (limited to 'src')
-rw-r--r--src/client/util/InteractionUtils.tsx4
1 files changed, 2 insertions, 2 deletions
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})`}