From bda2ce11499dce2f4647f582c9e4930bf18770ce Mon Sep 17 00:00:00 2001 From: yunahi <60233430+yunahi@users.noreply.github.com> Date: Sat, 27 Jun 2020 01:40:00 +0900 Subject: fixed arrow/dot? --- src/client/util/InteractionUtils.tsx | 11 ++++++----- .../views/collections/collectionFreeForm/InkOptionsMenu.tsx | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/client/util/InteractionUtils.tsx b/src/client/util/InteractionUtils.tsx index c38c9b9c2..3634fb704 100644 --- a/src/client/util/InteractionUtils.tsx +++ b/src/client/util/InteractionUtils.tsx @@ -121,12 +121,12 @@ export namespace InteractionUtils { return ( {/* setting the svg fill sets the arrowhead fill */} {nodefs ? (null) : - + - - + + - + @@ -142,7 +142,8 @@ export namespace InteractionUtils { stroke: color ?? "rgb(0, 0, 0)", strokeWidth: strokeWidth, strokeLinejoin: "round", - strokeLinecap: "round" + strokeLinecap: "round", + strokeDasharray: dashArray }} markerStart={`url(#${arrowStart + defGuid})`} markerEnd={`url(#${arrowEnd + defGuid})`} diff --git a/src/client/views/collections/collectionFreeForm/InkOptionsMenu.tsx b/src/client/views/collections/collectionFreeForm/InkOptionsMenu.tsx index e43e6bbdd..f1032adaa 100644 --- a/src/client/views/collections/collectionFreeForm/InkOptionsMenu.tsx +++ b/src/client/views/collections/collectionFreeForm/InkOptionsMenu.tsx @@ -303,9 +303,9 @@ export default class InkOptionsMenu extends AntimodeMenu { render() { const buttons = [ - , + // , this.shapePicker, this.bezierButton, this.widthPicker, -- cgit v1.2.3-70-g09d2