Handle RTL reading direction for double page reader (#594)

Changing the reading direction for the double page reader did nothing.
It just always was LTR.

Regression introduced with 4d75474b39
This commit is contained in:
schroda
2024-02-13 01:53:10 +01:00
committed by GitHub
parent 444ebf8007
commit 4ffd3584c6

View File

@@ -42,6 +42,7 @@ export const DoublePage = forwardRef((props: IProps, ref: any) => {
ref={ref}
sx={{
display: 'flex',
flexDirection: settings.readerType === 'DoubleLTR' ? 'row' : 'row-reverse',
justifyContent: 'center',
width: '100%',
}}