diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-06-10 15:55:05 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-06-10 15:55:05 -0400 |
commit | 1daca67ea2a574b16c02b185d66f5724651ba235 (patch) | |
tree | 3a014181f22e0a6d28d100947ed7defdc5a3fe29 /src/client/util/InteractionUtils.tsx | |
parent | ef17b488348b0ac9f869878829fc6a60f64f9304 (diff) |
changed how ink is highlighted when selected.
Diffstat (limited to 'src/client/util/InteractionUtils.tsx')
-rw-r--r-- | src/client/util/InteractionUtils.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/util/InteractionUtils.tsx b/src/client/util/InteractionUtils.tsx index 3948611f0..81f9b9362 100644 --- a/src/client/util/InteractionUtils.tsx +++ b/src/client/util/InteractionUtils.tsx @@ -89,7 +89,7 @@ export namespace InteractionUtils { return myTouches; } - export function CreatePolyline(points: { X: number, Y: number }[], left: number, top: number, color: string, width: string, bezier: string, scalex: number, scaley: number, shape: string) { + export function CreatePolyline(points: { X: number, Y: number }[], left: number, top: number, color: string, width: string, bezier: string, scalex: number, scaley: number, shape: string, pevents: string, drawHalo: boolean) { var pts = ""; if (shape) { //if any of the shape are true @@ -120,7 +120,9 @@ export namespace InteractionUtils { <polyline points={pts} style={{ + filter: drawHalo ? "url(#dangerShine)" : undefined, fill: "none", + pointerEvents: pevents as any, stroke: color ?? "rgb(0, 0, 0)", strokeWidth: parseInt(width), strokeLinejoin: "round", |