Merge pull request #16731 from Snuffleupagus/rm-useOnlyCssZoom

[api-minor] Replace the `useOnlyCssZoom` option with `maxCanvasPixels = 0` instead (PR 16729 follow-up)
This commit is contained in:
Tim van der Meij 2023-07-29 14:07:45 +02:00 committed by GitHub
commit 7ae5a0fef7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 52 additions and 48 deletions

View file

@ -522,7 +522,6 @@ const PDFViewerApplication = {
annotationEditorMode,
imageResourcesPath: AppOptions.get("imageResourcesPath"),
enablePrintAutoRotate: AppOptions.get("enablePrintAutoRotate"),
useOnlyCssZoom: AppOptions.get("useOnlyCssZoom"),
isOffscreenCanvasSupported,
maxCanvasPixels: AppOptions.get("maxCanvasPixels"),
enablePermissions: AppOptions.get("enablePermissions"),