diff options
| author | bobzel <zzzman@gmail.com> | 2020-12-10 12:54:41 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-12-10 12:54:41 -0500 |
| commit | 30338491c7b3cbba852931c76774f6bfd44d4060 (patch) | |
| tree | 97a4c68e0928b0ca1889ef4bf42e1a71b8256bab /src/client/views/pdf/PDFViewer.tsx | |
| parent | 81ee0bf99da264b76f26a21d57259d478cac07f3 (diff) | |
removed annotationsKey prop in favor of reusing fieldKey. Fixed web pages to allow dash annotations again.
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
| -rw-r--r-- | src/client/views/pdf/PDFViewer.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx index 9b689eb6b..633a34c5e 100644 --- a/src/client/views/pdf/PDFViewer.tsx +++ b/src/client/views/pdf/PDFViewer.tsx @@ -736,7 +736,8 @@ export class PDFViewer extends ViewBoxAnnotatableComponent<IViewerProps, PdfDocu transform: `scale(${this._zoomed})` }}> <CollectionFreeFormView {...OmitKeys(this.props, ["NativeWidth", "NativeHeight"]).omit} - annotationsKey={this.annotationKey} + isAnnotationOverlay={true} + fieldKey={this.annotationKey} setPreviewCursor={this.setPreviewCursor} PanelHeight={this.panelWidth} PanelWidth={this.panelHeight} @@ -744,7 +745,6 @@ export class PDFViewer extends ViewBoxAnnotatableComponent<IViewerProps, PdfDocu VisibleHeight={this.visibleHeight} focus={this.props.focus} isSelected={this.props.isSelected} - isAnnotationOverlay={true} select={emptyFunction} active={this.annotationsActive} ContentScaling={this.contentZoom} |
