d7c051e807
This commit adds `scrollModeOnLoad` and `spreadModeOnLoad` preferences that control the default viewer state when opening a new document for the first time. This commit also contains a minor refactoring of some of the option UI rendering code in extensions/chromium/options/options.js, as I couldn't bear creating two more functions nearly identical to the four that already existed.
23 lines
549 B
JSON
23 lines
549 B
JSON
{
|
|
"showPreviousViewOnLoad": true,
|
|
"defaultZoomValue": "",
|
|
"sidebarViewOnLoad": 0,
|
|
"cursorToolOnLoad": 0,
|
|
"enableWebGL": false,
|
|
"pdfBugEnabled": false,
|
|
"disableRange": false,
|
|
"disableStream": false,
|
|
"disableAutoFetch": false,
|
|
"disableFontFace": false,
|
|
"textLayerMode": 1,
|
|
"useOnlyCssZoom": false,
|
|
"externalLinkTarget": 0,
|
|
"renderer": "canvas",
|
|
"renderInteractiveForms": false,
|
|
"enablePrintAutoRotate": false,
|
|
"disablePageMode": false,
|
|
"disablePageLabels": false,
|
|
"scrollModeOnLoad": 0,
|
|
"spreadModeOnLoad": 0
|
|
}
|