aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/InteractionUtils.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-07-28 11:17:58 -0400
committerbobzel <zzzman@gmail.com>2023-07-28 11:17:58 -0400
commite910ed7b5b4ef317b00b39445eee0652393145ec (patch)
treed3e5d2237a47a3760d7779eb48d858a2c58e028c /src/client/util/InteractionUtils.tsx
parent4a8cf5ee3fd6f01ff2d28ccc0a456e9782bd261b (diff)
parentbf34928ad34d45f97c69da91b965c21f47edb5bf (diff)
Merge branch 'master' into james-azure-image
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,