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:
@@ -39,7 +39,7 @@ const BaseReaderAutoScrollContextProvider = ({
|
|||||||
const isContinuousReadingModeActive = isContinuousReadingMode(readingMode);
|
const isContinuousReadingModeActive = isContinuousReadingMode(readingMode);
|
||||||
|
|
||||||
const changePage = useCallback(() => {
|
const changePage = useCallback(() => {
|
||||||
openPage('next');
|
openPage('next', 'ltr');
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const automaticScrolling = useAutomaticScrolling(
|
const automaticScrolling = useAutomaticScrolling(
|
||||||
|
|||||||
Reference in New Issue
Block a user