Fix the change chapter gesture

This commit is contained in:
2025-02-13 16:59:54 +08:00
parent 31e391ddae
commit 985e46ff88

View File

@@ -555,6 +555,7 @@ class _ContinuousModeState extends State<_ContinuousMode>
delayedSetIsScrolling(false);
}
if (notification is ScrollUpdateNotification) {
var length = reader.maxChapter;
if (!scrollController.hasClients) return false;
if (scrollController.position.pixels <=
@@ -568,6 +569,7 @@ class _ContinuousModeState extends State<_ContinuousMode>
} else {
context.readerScaffold.setFloatingButton(0);
}
}
return true;
},