Merge pull request #16774 from Snuffleupagus/rm-deprecated-options

[api-major] Remove various deprecated functionality and options
This commit is contained in:
Jonas Jenwald 2023-10-03 15:12:39 +02:00 committed by GitHub
commit 0edc490e1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 91 deletions

View file

@ -167,13 +167,6 @@ class PDFPageView {
if (typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")) {
this._isStandalone = !this.renderingQueue?.hasViewer();
this._container = container;
if (options.useOnlyCssZoom) {
console.error(
"useOnlyCssZoom was removed, please use `maxCanvasPixels = 0` instead."
);
this.maxCanvasPixels = 0;
}
}
this._annotationCanvasMap = null;