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

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