Skip to content

Commit 138ebb0

Browse files
Merge pull request #14253 from Snuffleupagus/ScrollMode-PAGE-chromium
[Chromium addon] Add the Page scrolling mode to the options (PR 14112 follow-up)
2 parents 85c6dd5 + 27e461a commit 138ebb0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

extensions/chromium/options/options.html

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@
153153
<span></span>
154154
<select>
155155
<option value="-1">Default</option>
156+
<option value="3">Page scrolling</option>
156157
<option value="0">Vertical scrolling</option>
157158
<option value="1">Horizontal scrolling</option>
158159
<option value="2">Wrapped scrolling</option>

extensions/chromium/preferences_schema.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,14 @@
186186
},
187187
"scrollModeOnLoad": {
188188
"title": "Scroll mode on load",
189-
"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.",
189+
"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.",
190190
"type": "integer",
191191
"enum": [
192192
-1,
193193
0,
194194
1,
195-
2
195+
2,
196+
3
196197
],
197198
"default": -1
198199
},

0 commit comments

Comments
 (0)