diff options
| author | bobzel <zzzman@gmail.com> | 2021-03-15 03:36:35 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-03-15 03:36:35 -0400 |
| commit | ded69655dabf97c76f97271e7da8e77e3f33ec25 (patch) | |
| tree | 9cc9cce9713365735491b7f0dcd6b6928db739af /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | f8e0f7b7712375341d95a68bc78d6369e9b1deb5 (diff) | |
getting webBox's to work like PdfBox's - text selection & marquee.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 5c5164d98..daa92055c 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1493,7 +1493,7 @@ export class CollectionFreeFormView extends CollectionSubView<PanZoomDocument, P onDragOver={e => e.preventDefault()} onContextMenu={this.onContextMenu} style={{ - pointerEvents: this.backgroundEvents ? "all" : undefined, + pointerEvents: this.backgroundEvents ? "all" : this.props.pointerEvents, transform: `scale(${this.contentScaling || 1})`, width: `${100 / (this.contentScaling || 1)}%`, height: this.isAnnotationOverlay && this.Document.scrollHeight ? this.Document.scrollHeight : `${100 / (this.contentScaling || 1)}%`// : this.isAnnotationOverlay ? (this.Document.scrollHeight ? this.Document.scrollHeight : "100%") : this.props.PanelHeight() |
