diff options
author | vkalev <vjk1883@gmail.com> | 2021-08-21 16:55:55 -0400 |
---|---|---|
committer | vkalev <vjk1883@gmail.com> | 2021-08-21 16:55:55 -0400 |
commit | b04ec7f52265a27e9d72a3738fa474cfaefcdcd9 (patch) | |
tree | c3d5082f19ae1e4a25c936cbac9c7640a1c08a52 | |
parent | 7e439440a1d7fc3e3b29333b0502d6ed4d178309 (diff) |
added unrounded endpoints for highlight ink strokes
-rw-r--r-- | src/client/util/InteractionUtils.tsx | 4 |
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})`} |