From 0e3b629287212184d5cea07586599f217979b018 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Mon, 9 Dec 2024 03:11:45 +0100 Subject: [PATCH] Fix open page per click in RTL mode The action to perform which gets determined on a tap zone click is always in the correct direction, thus, the direction for the "openPage" call has to be forced to be "LTR" to prevent inverting the direction --- src/modules/reader/services/ReaderControls.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/reader/services/ReaderControls.ts b/src/modules/reader/services/ReaderControls.ts index 94835499..8850624f 100644 --- a/src/modules/reader/services/ReaderControls.ts +++ b/src/modules/reader/services/ReaderControls.ts @@ -407,7 +407,7 @@ export class ReaderControls { openChapter, ); } else { - openPage('previous'); + openPage('previous', 'ltr'); } break; case TapZoneRegionType.NEXT: @@ -422,7 +422,7 @@ export class ReaderControls { openChapter, ); } else { - openPage('next'); + openPage('next', 'ltr'); } break; default: