[Chromium addon] Add the Page scrolling mode to the options (PR 14112 follow-up)

This commit is contained in:
Jonas Jenwald 2021-11-08 10:18:25 +01:00
parent 8064318015
commit 27e461a897
2 changed files with 4 additions and 2 deletions

View File

@ -153,6 +153,7 @@ body {
<span></span> <span></span>
<select> <select>
<option value="-1">Default</option> <option value="-1">Default</option>
<option value="3">Page scrolling</option>
<option value="0">Vertical scrolling</option> <option value="0">Vertical scrolling</option>
<option value="1">Horizontal scrolling</option> <option value="1">Horizontal scrolling</option>
<option value="2">Wrapped scrolling</option> <option value="2">Wrapped scrolling</option>

View File

@ -186,13 +186,14 @@
}, },
"scrollModeOnLoad": { "scrollModeOnLoad": {
"title": "Scroll mode on load", "title": "Scroll mode on load",
"description": "Controls how the viewer scrolls upon load.\n -1 = Default (uses the last position if available/enabled).\n 0 = Vertical scrolling.\n 1 = Horizontal scrolling.\n 2 = Wrapped scrolling.", "description": "Controls how the viewer scrolls upon load.\n -1 = Default (uses the last position if available/enabled).\n 3 = Page scrolling.\n 0 = Vertical scrolling.\n 1 = Horizontal scrolling.\n 2 = Wrapped scrolling.",
"type": "integer", "type": "integer",
"enum": [ "enum": [
-1, -1,
0, 0,
1, 1,
2 2,
3
], ],
"default": -1 "default": -1
}, },