diff options
| author | bobzel <zzzman@gmail.com> | 2022-03-03 18:37:30 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-03-03 18:37:30 -0500 |
| commit | c015dc3b76ec30e9d7057ee558787e59033af270 (patch) | |
| tree | ef691ba352c02b69acfd6df6287c5da35d7ac27d /src/client/views/nodes/PDFBox.tsx | |
| parent | 9787451fc3fbbd60a981b244c127e7452c33a207 (diff) | |
fixed pdf rendering and interaction
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
| -rw-r--r-- | src/client/views/nodes/PDFBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx index ebbcc67c6..91f0805bf 100644 --- a/src/client/views/nodes/PDFBox.tsx +++ b/src/client/views/nodes/PDFBox.tsx @@ -277,7 +277,7 @@ export class PDFBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps dataDoc={this.dataDoc} pdf={this._pdf!} url={this.pdfUrl!.url.pathname} - isContentActive={this.props.isContentActive} + isContentActive={this.isAnyChildContentActive} anchorMenuClick={this.anchorMenuClick} loaded={!Doc.NativeAspect(this.dataDoc) ? this.loaded : undefined} setPdfViewer={this.setPdfViewer} |
