aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-06-16 01:54:48 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-06-16 01:54:48 -0400
commit157e80d5ee76f1c2386e2cde69fcc13188d27d8b (patch)
tree288f2937641e5255335def08e3577d5249775ebf /src
parent6c67e91ebef5db8d63f6a75f198e5a5ef30dc142 (diff)
fixed highlighting thick strokes.
Diffstat (limited to 'src')
-rw-r--r--src/client/util/InteractionUtils.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/InteractionUtils.tsx b/src/client/util/InteractionUtils.tsx
index 8553661d4..aeb0f670d 100644
--- a/src/client/util/InteractionUtils.tsx
+++ b/src/client/util/InteractionUtils.tsx
@@ -119,6 +119,7 @@ export namespace InteractionUtils {
style={{
filter: drawHalo ? "url(#dangerShine)" : undefined,
fill: "none",
+ opacity: strokeWidth !== width ? 0.5 : undefined,
pointerEvents: pevents as any,
stroke: color ?? "rgb(0, 0, 0)",
strokeWidth: strokeWidth,