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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user