mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Add scrollModeOnLoad
/spreadModeOnLoad
default values to AppOptions
For some reason, these weren't added to `AppOptions` despite actually being set and read from `web/app.js`. Not adding them creates inconsistencies, since all other options *are* present in `web/app_options.js`.
This commit is contained in:
parent
e522b2d87e
commit
baf9c98bc7
1 changed files with 10 additions and 0 deletions
|
@ -116,6 +116,16 @@ const defaultOptions = {
|
||||||
value: 0,
|
value: 0,
|
||||||
kind: OptionKind.VIEWER,
|
kind: OptionKind.VIEWER,
|
||||||
},
|
},
|
||||||
|
scrollModeOnLoad: {
|
||||||
|
/** @type {number} */
|
||||||
|
value: 0,
|
||||||
|
kind: OptionKind.VIEWER,
|
||||||
|
},
|
||||||
|
spreadModeOnLoad: {
|
||||||
|
/** @type {number} */
|
||||||
|
value: 0,
|
||||||
|
kind: OptionKind.VIEWER,
|
||||||
|
},
|
||||||
textLayerMode: {
|
textLayerMode: {
|
||||||
/** @type {number} */
|
/** @type {number} */
|
||||||
value: 1,
|
value: 1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue