From b1b71ea4d338aca6c5c6ce3e117226c64e26eca1 Mon Sep 17 00:00:00 2001 From: Moustapha Kodjo Amadou <107993382+kodjodevf@users.noreply.github.com> Date: Sat, 8 Nov 2025 20:36:28 +0100 Subject: [PATCH] Improve auto-scroll condition in manga and novel readers --- lib/modules/manga/reader/reader_view.dart | 2 +- lib/modules/novel/novel_reader_view.dart | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/modules/manga/reader/reader_view.dart b/lib/modules/manga/reader/reader_view.dart index cf35f32d..88837108 100644 --- a/lib/modules/manga/reader/reader_view.dart +++ b/lib/modules/manga/reader/reader_view.dart @@ -2515,7 +2515,7 @@ class _MangaChapterPageGalleryState vsync: this, fullWidth: true, ); - if (!autoScrollAreadyFalse) { + if (!autoScrollAreadyFalse || _autoScroll.value) { if (_autoScrollPage.value) { _autoPagescroll(); _autoScroll.value = true; diff --git a/lib/modules/novel/novel_reader_view.dart b/lib/modules/novel/novel_reader_view.dart index 79b42107..66518166 100644 --- a/lib/modules/novel/novel_reader_view.dart +++ b/lib/modules/novel/novel_reader_view.dart @@ -1080,7 +1080,8 @@ class _NovelWebViewState extends ConsumerState context: context, vsync: this, ); - if (!autoScrollAreadyFalse) { + if (!autoScrollAreadyFalse || + _autoScroll.value) { if (_autoScrollPage.value) { _autoPagescroll(); _autoScroll.value = true;