From 4a19a4ecc7f51532a30a7a31e4c95bfadce793da Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Sat, 27 Jun 2020 01:23:56 -0400 Subject: adjusted arrowheads to be larger --- src/client/util/InteractionUtils.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/client/util/InteractionUtils.tsx b/src/client/util/InteractionUtils.tsx index 3634fb704..edeb461e0 100644 --- a/src/client/util/InteractionUtils.tsx +++ b/src/client/util/InteractionUtils.tsx @@ -118,18 +118,18 @@ export namespace InteractionUtils { ${(pt.Y - top - width / 2) * scaley + width / 2} `, ""); const dashArray = String(Number(width) * Number(dash)); const defGuid = Utils.GenerateGuid(); + const arrowDim = Math.max(0.5, 8 / Math.log(Math.max(2, strokeWidth))); return ( {/* setting the svg fill sets the arrowhead fill */} {nodefs ? (null) : - + {arrowStart !== "dot" && arrowEnd !== "dot" ? (null) : - - - - - - - - + } + {arrowStart !== "arrowHead" && arrowEnd !== "arrowHead" ? (null) : + + } + {arrowStart !== "arrowEnd" && arrowEnd !== "arrowEnd" ? (null) : + + } }