Remove the pageRotation
getter in PDFViewerApplication
This was added, during the refactoring in PR 8556, to avoid outright breaking third-party users of the default viewer. With PDF.js version `2.0`, where we're making API changes that aren't backwards compatible, we ought to be able to remove this piece of viewer code as well.
This commit is contained in:
parent
ada47fe373
commit
c1f385eda9
@ -525,10 +525,6 @@ let PDFViewerApplication = {
|
|||||||
return this.pdfDocument ? this.pdfDocument.numPages : 0;
|
return this.pdfDocument ? this.pdfDocument.numPages : 0;
|
||||||
},
|
},
|
||||||
|
|
||||||
get pageRotation() {
|
|
||||||
return this.pdfViewer.pagesRotation;
|
|
||||||
},
|
|
||||||
|
|
||||||
set page(val) {
|
set page(val) {
|
||||||
this.pdfViewer.currentPageNumber = val;
|
this.pdfViewer.currentPageNumber = val;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user