Fix first visible page detection in RTL + continuous horizontal mode

This commit is contained in:
schroda
2025-11-17 01:21:43 +01:00
parent d093fe0281
commit 50a6b72716
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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),
},
),