Always open next page for auto scroll in single/double page mode

Depending on the reading direction, the previous page got opened instead of the next one.
This commit is contained in:
schroda
2024-12-27 21:38:13 +01:00
parent 3c57011f0c
commit a69447384b

View File

@@ -39,7 +39,7 @@ const BaseReaderAutoScrollContextProvider = ({
const isContinuousReadingModeActive = isContinuousReadingMode(readingMode);
const changePage = useCallback(() => {
openPage('next');
openPage('next', 'ltr');
}, []);
const automaticScrolling = useAutomaticScrolling(