diff options
author | bobzel <zzzman@gmail.com> | 2024-05-03 22:08:56 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-05-03 22:08:56 -0400 |
commit | 139600ab7e8a82a31744cd3798247236cd5616fc (patch) | |
tree | 6bbc5c6fb6825ef969ed0342e4851667b81577cc /src/client/views/pdf/PDFViewer.tsx | |
parent | 93ab35c251b399f3e44ab2fa016e2af13df5a53b (diff) |
fixed pdf rendering. fixed cropping images. fixed zooming out of an image that is fitWidth to set scroll bar properly.
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
-rw-r--r-- | src/client/views/pdf/PDFViewer.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx index 45b1d727e..2327ee0d8 100644 --- a/src/client/views/pdf/PDFViewer.tsx +++ b/src/client/views/pdf/PDFViewer.tsx @@ -33,7 +33,7 @@ import './PDFViewer.scss'; // pdfjsLib.GlobalWorkerOptions.workerSrc = `/assets/pdf.worker.js`; // The workerSrc property shall be specified. -Pdfjs.GlobalWorkerOptions.workerSrc = 'https://unpkg.com/pdfjs-dist@4.1.392/build/pdf.worker.mjs'; +Pdfjs.GlobalWorkerOptions.workerSrc = 'https://unpkg.com/pdfjs-dist@4.2.67/build/pdf.worker.mjs'; interface IViewerProps extends FieldViewProps { pdfBox: PDFBox; |