mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Pause translation when appending the outline/attachment/layer trees to the sidebar
Also, pause translation when collapsing/expanding subtrees.
This commit is contained in:
parent
0fc899338c
commit
6b265b3a15
6 changed files with 41 additions and 2 deletions
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue