diff options
author | bobzel <zzzman@gmail.com> | 2021-09-14 16:07:51 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-09-14 16:07:51 -0400 |
commit | 0fa9fd0f1c51c5a121a212635395bdb63ac28cd6 (patch) | |
tree | e7c98de1591146cf2a50c513a669d5b7308aea46 /src/client/util/InteractionUtils.tsx | |
parent | abc5f96945fc0716fb1ccb4c99005bc7b7473086 (diff) | |
parent | 301652c454f3b74815aa7be2f2159e0a61d14e0b (diff) |
merged with master
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 a11c090a7..4a8011e3c 100644 --- a/src/client/util/InteractionUtils.tsx +++ b/src/client/util/InteractionUtils.tsx @@ -141,7 +141,7 @@ export namespace InteractionUtils { export function CreatePolyline(points: { X: number, Y: number }[], left: number, top: number, color: string, width: number, strokeWidth: number, bezier: string, fill: string, arrowStart: string, arrowEnd: string, - dash: string | undefined, scalex: number, scaley: number, shape: string, pevents: string, opacity: number, nodefs: boolean) { + dash: string | undefined, scalex: number, scaley: number, shape: string, pevents: string, opacity: number, nodefs: boolean) { let pts: { X: number; Y: number; }[] = []; if (shape) { //if any of the shape are true pts = makePolygon(shape, points); @@ -211,8 +211,8 @@ export namespace InteractionUtils { points={strpts} style={{ // filter: drawHalo ? "url(#inkSelectionHalo)" : undefined, - fill: fill ? fill : "none", - opacity: opacity, + fill: fill && fill !== "transparent" ? fill : "none", + opacity: 1.0, // opacity: strokeWidth !== width ? 0.5 : undefined, pointerEvents: pevents as any, stroke: color ?? "rgb(0, 0, 0)", |