diff options
author | bobzel <zzzman@gmail.com> | 2023-10-31 12:21:30 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-10-31 12:21:30 -0400 |
commit | a091c6142db5c1da94807abf14e78ed69e62f794 (patch) | |
tree | fa3142b113f9d72af6630461d3743487184f7675 /src/client/util/InteractionUtils.tsx | |
parent | 8a6ed7624fa1eb8b0b38a51e3f77af159c7cb09f (diff) |
fixed groups to use actual document boundaries for ink or link lines, instead of boundingbox. fixed doc title css. started to make link lines more compatible with ink.
Diffstat (limited to 'src/client/util/InteractionUtils.tsx')
-rw-r--r-- | src/client/util/InteractionUtils.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/util/InteractionUtils.tsx b/src/client/util/InteractionUtils.tsx index 7caeee588..be885312d 100644 --- a/src/client/util/InteractionUtils.tsx +++ b/src/client/util/InteractionUtils.tsx @@ -94,7 +94,7 @@ export namespace InteractionUtils { width: number, strokeWidth: number, lineJoin: string, - lineCap: string, + strokeLineCap: string, bezier: string, fill: string, arrowStart: string, @@ -181,8 +181,8 @@ export namespace InteractionUtils { // opacity: strokeWidth !== width ? 0.5 : undefined, pointerEvents: (pevents as any) === 'all' ? 'visiblepainted' : (pevents as any), stroke: color ?? 'rgb(0, 0, 0)', - strokeWidth: strokeWidth, - strokeLinecap: lineCap as any, + strokeWidth, + strokeLinecap: strokeLineCap as any, strokeDasharray: dashArray, transition: 'inherit', }} |