mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-09-03 03:50:02 +03:00
invert layout state to match RTL toggle behavior
This commit is contained in:
@@ -41,7 +41,7 @@ const BookOsd: FC<BookOsdProps> = ({
|
||||
const settings = userSettings.getComicsPlayerSettings(item.Id!) as ComicsPlayerSettings;
|
||||
|
||||
const [direction, setDirection] = useState(settings.langDir === 'rtl');
|
||||
const [layout, setLayout] = useState(settings.pagesPerView === 1);
|
||||
const [layout, setLayout] = useState(settings.pagesPerView === 2);
|
||||
const [fullscreen, setFullscreen] = useState(false);
|
||||
|
||||
const onClickDirection = useCallback(() => {
|
||||
|
||||
Reference in New Issue
Block a user