Skip to content

Commit

Permalink
make usePdfJs non-optional
Browse files Browse the repository at this point in the history
  • Loading branch information
edsilv committed Nov 24, 2023
1 parent ef4a732 commit 2ee0a4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {

type PDFCenterPanelOptions = CenterPanelOptions & {
/** Determines if PDF.js should be used for PDF rendering */
usePdfJs?: boolean;
usePdfJs: boolean;
};

type PDFCenterPanelContent = CenterPanelContent & {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"theme": "uv-en-GB-theme",
"tokenStorage": "session",
"useArrowKeysToNavigate": false,
"usePdfJs": true,
"zoomToSearchResultEnabled": true
},
"modules": {
Expand Down Expand Up @@ -180,7 +179,8 @@
"titleEnabled": false,
"subtitleEnabled": true,
"mostSpecificRequiredStatement": true,
"requiredStatementEnabled": true
"requiredStatementEnabled": true,
"usePdfJs": true
},
"content": {
"attribution": "$attribution"
Expand Down

0 comments on commit 2ee0a4b

Please sign in to comment.