diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a0656ed..42265fb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). - (**Reader**) Fix mouse cursor drift during drag scroll - (**Reader**) Fix deletion of chapters while reading - (**Reader**) Fix potential page loss (continuous horizontal mode window resize, reader width change, page scale change) + (**Reader**) Fix current page detection in continuous horizontal mode with right-to-left reading mode - (**Extension**) Fix handling obsolete extensions as updatable in case they are marked as having an available update - (**Theme**) Fix loading of fonts defined in themes - (**Reader**) Fix broken scrolling in continuous horizontal reading mode diff --git a/src/features/reader/services/ReaderControls.ts b/src/features/reader/services/ReaderControls.ts index baf36500..6b14ba8f 100644 --- a/src/features/reader/services/ReaderControls.ts +++ b/src/features/reader/services/ReaderControls.ts @@ -506,7 +506,7 @@ export class ReaderControls { // visible (e.g. 0.0123px) breaking the "first visible image" detection { bottom: 1, - left: getOptionForDirection(0, window.innerWidth + 1, themeDirectionForReadingDirection), + left: getOptionForDirection(0, 1, themeDirectionForReadingDirection), right: getOptionForDirection(1, 0, themeDirectionForReadingDirection), }, ),