From baf9c98bc720707e707d96dcac66a3e1b6f434cf Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Fri, 29 Jun 2018 13:07:37 +0200 Subject: [PATCH] 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`. --- web/app_options.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/web/app_options.js b/web/app_options.js index a6023264d..83b7d3d47 100644 --- a/web/app_options.js +++ b/web/app_options.js @@ -116,6 +116,16 @@ const defaultOptions = { value: 0, kind: OptionKind.VIEWER, }, + scrollModeOnLoad: { + /** @type {number} */ + value: 0, + kind: OptionKind.VIEWER, + }, + spreadModeOnLoad: { + /** @type {number} */ + value: 0, + kind: OptionKind.VIEWER, + }, textLayerMode: { /** @type {number} */ value: 1,