aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-10-25 11:40:58 -0400
committerbobzel <zzzman@gmail.com>2023-10-25 11:40:58 -0400
commitafe6157e26b42cf4e5075d70b83997b2c466343b (patch)
treec6922be0f35cb2b25bfcfac329e75150bcc818cf
parent6d60f2835502cb58d680aeeda8ce022f73ddcfa6 (diff)
fixed problem setting ink arrows where they don't show up until the line is modified.
-rw-r--r--src/client/util/InteractionUtils.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/InteractionUtils.tsx b/src/client/util/InteractionUtils.tsx
index 6406624bb..7caeee588 100644
--- a/src/client/util/InteractionUtils.tsx
+++ b/src/client/util/InteractionUtils.tsx
@@ -170,7 +170,7 @@ export namespace InteractionUtils {
</defs>
)}
<Tag
- d={bezier ? strpts : undefined}
+ d={bezier ? strpts + (arrowStart || arrowEnd ? ' ' : '') : undefined}
points={bezier ? undefined : strpts}
//filter={!dropshadow ? undefined : `drop-shadow(-1px -1px 0px ${dropshadow}) `}
style={{