aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-05-15 18:48:50 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-05-15 18:48:50 -0400
commitede1d4c8e687b4dae48de6e11e2c8d3ec7895845 (patch)
tree810436c4c571dbba4d4b134c568d9ec8eba9e8c2 /src
parent61dcd6a0e23384e68a7d7f2f9e0143741f5cbf56 (diff)
fixed pointer events for invisible objects
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/CollectionFreeFormDocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
index 710b2ce07..5d109a5f2 100644
--- a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
+++ b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
@@ -146,7 +146,7 @@ export class CollectionFreeFormDocumentView extends DocComponent<CollectionFreeF
opacity: this.Opacity,
zIndex: this.ZInd,
display: this.ZInd === -99 ? "none" : undefined,
- pointerEvents: this.props.Document.isBackground ? "none" : this.props.pointerEvents ? "all" : undefined
+ pointerEvents: this.props.Document.isBackground || this.Opacity === 0 ? "none" : this.props.pointerEvents ? "all" : undefined
}} >
{!this.props.fitToBox ?