update reader

This commit is contained in:
2024-12-01 20:22:33 +08:00
committed by nyne
parent 66ebdb03b1
commit c1672d01f8
2 changed files with 19 additions and 7 deletions

View File

@@ -103,6 +103,9 @@ class _ReaderGestureDetectorState extends State<_ReaderGestureDetector> {
}
void onMouseWheel(bool forward) {
if (HardwareKeyboard.instance.isControlPressed) {
return;
}
if (context.reader.mode.key.startsWith('gallery')) {
if (forward) {
if (!context.reader.toNextPage()) {