aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/InteractionUtils.tsx
diff options
context:
space:
mode:
authorsrichman333 <sarah_n_richman@brown.edu>2023-07-27 15:20:17 -0400
committersrichman333 <sarah_n_richman@brown.edu>2023-07-27 15:20:17 -0400
commit686643f04a5ebfc8abdf1836212c5997ee61db74 (patch)
tree31dc38b7902f841e6c1cfa3d9dd4f19a898c19aa /src/client/util/InteractionUtils.tsx
parent7bdc4799c2546de168cc74d536463d898673afc6 (diff)
parentbc19fd4221c1bd06135c894e5ed2edcfdb61b0be (diff)
Merge branch 'master' into data-visualization-sarah
Diffstat (limited to 'src/client/util/InteractionUtils.tsx')
-rw-r--r--src/client/util/InteractionUtils.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/InteractionUtils.tsx b/src/client/util/InteractionUtils.tsx
index 043f0f1f3..d0f459291 100644
--- a/src/client/util/InteractionUtils.tsx
+++ b/src/client/util/InteractionUtils.tsx
@@ -178,7 +178,7 @@ export namespace InteractionUtils {
filter: mask ? `url(#mask${defGuid})` : undefined,
opacity: 1.0,
// opacity: strokeWidth !== width ? 0.5 : undefined,
- pointerEvents: pevents as any,
+ pointerEvents: (pevents as any) === 'all' ? 'visiblepainted' : (pevents as any),
stroke: color ?? 'rgb(0, 0, 0)',
strokeWidth: strokeWidth,
strokeLinecap: lineCap as any,