Skip to content

Commit 7770cf9

Browse files
committed
Fix page label recognition and automatically update the toolbar
1 parent 0027014 commit 7770cf9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pdfjs/pdf.js

src/pdf/pdf-view.js

+1
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ class PDFView {
390390
}
391391
this._onSetPageLabels(pageLabels);
392392
this._render();
393+
this._updateViewStats();
393394
}
394395

395396
async _attachPage(originalPage) {

0 commit comments

Comments
 (0)