1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #18255 from calixteman/disable_hwa_only_for_mc

Only disable HWA in m-c build and for local dev
This commit is contained in:
calixteman 2024-06-16 21:47:34 +02:00 committed by GitHub
commit 06800cd966
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -312,7 +312,7 @@ const defaultOptions = {
},
enableHWA: {
/** @type {boolean} */
value: false,
value: typeof PDFJSDev !== "undefined" && !PDFJSDev.test("MOZCENTRAL"),
kind: OptionKind.API + OptionKind.VIEWER + OptionKind.PREFERENCE,
},
enableXfa: {