mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Merge pull request #16774 from Snuffleupagus/rm-deprecated-options
[api-major] Remove various deprecated functionality and options
This commit is contained in:
commit
0edc490e1b
6 changed files with 1 additions and 91 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue