Fix first visible page detection in RTL + continuous horizontal mode
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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),
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user