From 44e219b363e1a07003dd29e6fc638370f3873b8b Mon Sep 17 00:00:00 2001 From: rooklift <16438795+rooklift@users.noreply.github.com> Date: Tue, 27 Jun 2023 18:33:00 +0100 Subject: [PATCH] Don't stop engine just for autoscroll turning off --- src/modules/hub.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/hub.js b/src/modules/hub.js index f5249b60..3afaddcd 100644 --- a/src/modules/hub.js +++ b/src/modules/hub.js @@ -422,14 +422,16 @@ let hub_main_props = { } if (!opts.keep_autoplay_settings) { - if (this.__autoanalysis || this.__backanalysis || this.__autoplay || this.__autoscroll || this.__play_colour) { + if (this.__autoanalysis || this.__backanalysis || this.__autoplay || this.__play_colour) { this.set_autoanalysis(false); this.set_backanalysis(false); this.set_autoplay(false); - this.set_autoscroll(false); this.set_play_colour(null); want_to_go = false; // i.e. we halt only if we are turning off one of these things. } + if (this.__autoscroll) { + this.set_autoscroll(false); // (Don't set want_to_go = false just for this.) + } } if (want_to_go) {