From 450af0d3e6ff2b4237dde366757b3991ccb18fe7 Mon Sep 17 00:00:00 2001 From: Vadym Yatsyuk <vadym.yatsyuk@gmail.com> Date: Sun, 11 Sep 2022 13:27:57 +0200 Subject: [PATCH] Improve arrangement of annotations #824 --- src/app/pdf-viewer/pdf-viewer.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/pdf-viewer/pdf-viewer.component.ts b/src/app/pdf-viewer/pdf-viewer.component.ts index bf8835a6..8354c236 100644 --- a/src/app/pdf-viewer/pdf-viewer.component.ts +++ b/src/app/pdf-viewer/pdf-viewer.component.ts @@ -501,7 +501,8 @@ export class PdfViewerComponent : RenderTextMode.DISABLED, findController: this.pdfSinglePageFindController, renderer: 'canvas', - l10n: undefined, + l10n: undefined, + imageResourcesPath: this._imageResourcesPath, }; this.pdfSinglePageViewer = new PDFJSViewer.PDFSinglePageViewer(pdfOptions);