mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-03-11 17:25:32 +00:00
Improve auto-scroll condition in manga and novel readers
This commit is contained in:
parent
6eda6de614
commit
b1b71ea4d3
2 changed files with 3 additions and 2 deletions
|
|
@ -2515,7 +2515,7 @@ class _MangaChapterPageGalleryState
|
|||
vsync: this,
|
||||
fullWidth: true,
|
||||
);
|
||||
if (!autoScrollAreadyFalse) {
|
||||
if (!autoScrollAreadyFalse || _autoScroll.value) {
|
||||
if (_autoScrollPage.value) {
|
||||
_autoPagescroll();
|
||||
_autoScroll.value = true;
|
||||
|
|
|
|||
|
|
@ -1080,7 +1080,8 @@ class _NovelWebViewState extends ConsumerState<NovelWebView>
|
|||
context: context,
|
||||
vsync: this,
|
||||
);
|
||||
if (!autoScrollAreadyFalse) {
|
||||
if (!autoScrollAreadyFalse ||
|
||||
_autoScroll.value) {
|
||||
if (_autoScrollPage.value) {
|
||||
_autoPagescroll();
|
||||
_autoScroll.value = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue