diff options
| author | bobzel <zzzman@gmail.com> | 2021-03-15 13:19:24 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-03-15 13:19:24 -0400 |
| commit | 363b73726523caff1e5f047287c7fdb242b39e20 (patch) | |
| tree | 7680e88640c34edd06a882f911b89d71f4e02ce4 /src/client/views/collections | |
| parent | ded69655dabf97c76f97271e7da8e77e3f33ec25 (diff) | |
fixed scrolling to annotations and pointerevents on webBox (when an annotation was selected so you can drag out a marquee)
Diffstat (limited to 'src/client/views/collections')
| -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 daa92055c..b5dca42a7 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" : this.props.pointerEvents, + pointerEvents: this.backgroundEvents ? "all" : this.props.pointerEvents as any, 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() |
