Pause translation when appending the outline/attachment/layer trees to the sidebar

Also, pause translation when collapsing/expanding subtrees.
This commit is contained in:
Jonas Jenwald 2023-10-25 17:10:58 +02:00
parent 0fc899338c
commit 6b265b3a15
6 changed files with 41 additions and 2 deletions

View file

@ -623,6 +623,7 @@ const PDFViewerApplication = {
this.pdfOutlineViewer = new PDFOutlineViewer({
container: appConfig.sidebar.outlineView,
eventBus,
l10n,
linkService: pdfLinkService,
downloadManager,
});
@ -632,6 +633,7 @@ const PDFViewerApplication = {
this.pdfAttachmentViewer = new PDFAttachmentViewer({
container: appConfig.sidebar.attachmentsView,
eventBus,
l10n,
downloadManager,
});
}
@ -640,6 +642,7 @@ const PDFViewerApplication = {
this.pdfLayerViewer = new PDFLayerViewer({
container: appConfig.sidebar.layersView,
eventBus,
l10n,
});
}