mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
Fix the change chapter gesture
This commit is contained in:
@@ -555,6 +555,7 @@ class _ContinuousModeState extends State<_ContinuousMode>
|
|||||||
delayedSetIsScrolling(false);
|
delayedSetIsScrolling(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (notification is ScrollUpdateNotification) {
|
||||||
var length = reader.maxChapter;
|
var length = reader.maxChapter;
|
||||||
if (!scrollController.hasClients) return false;
|
if (!scrollController.hasClients) return false;
|
||||||
if (scrollController.position.pixels <=
|
if (scrollController.position.pixels <=
|
||||||
@@ -568,6 +569,7 @@ class _ContinuousModeState extends State<_ContinuousMode>
|
|||||||
} else {
|
} else {
|
||||||
context.readerScaffold.setFloatingButton(0);
|
context.readerScaffold.setFloatingButton(0);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user