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
This commit is contained in:
schroda
2024-12-09 03:11:45 +01:00
parent 8491091b2b
commit 0e3b629287

View File

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