Skip to content

Commit

Permalink
Enable the defaultZoomDelay option/preference unconditionally (PR 1…
Browse files Browse the repository at this point in the history
…5812 follow-up)

This option/preference was disabled in GENERIC builds, see PR 15812, to avoid landing it *just before* a new release. Hence it should be fine to enable this now.
  • Loading branch information
Snuffleupagus committed Jan 2, 2023
1 parent e7cea29 commit 9f50b0a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/app_options.js
Expand Up @@ -70,8 +70,7 @@ const defaultOptions = {
},
defaultZoomDelay: {
/** @type {number} */
value:
typeof PDFJSDev === "undefined" || !PDFJSDev.test("GENERIC") ? 400 : -1,
value: 400,
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
},
defaultZoomValue: {
Expand Down

0 comments on commit 9f50b0a

Please sign in to comment.