feat: review bookreader zoom and pages on mobile

This commit is contained in:
Julien Froidefond
2025-02-28 14:16:34 +01:00
parent 29b9eca599
commit 7542f39f7e
4 changed files with 52 additions and 4 deletions

View File

@@ -32,6 +32,7 @@ export function BookReader({ book, pages, onClose }: BookReaderProps) {
handlePreviousPage,
handleNextPage,
shouldShowDoublePage,
zoomLevel,
} = usePageNavigation({
book,
pages,
@@ -116,6 +117,7 @@ export function BookReader({ book, pages, onClose }: BookReaderProps) {
shouldShowDoublePage={shouldShowDoublePage}
isRTL={isRTL}
onThumbnailLoad={handleThumbnailLoad}
zoomLevel={zoomLevel}
/>
<NavigationBar