Skip to content

Commit

Permalink
Handle RTL reading direction for double page reader (#594)
Browse files Browse the repository at this point in the history
Changing the reading direction for the double page reader did nothing.
It just always was LTR.

Regression introduced with 4d75474
  • Loading branch information
schroda authored Feb 13, 2024
1 parent 444ebf8 commit 4ffd358
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/reader/DoublePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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%',
}}
Expand Down

0 comments on commit 4ffd358

Please sign in to comment.