diff --git a/src/components/reader/hooks/usePageNavigation.ts b/src/components/reader/hooks/usePageNavigation.ts index 4e8daee..e9d923c 100644 --- a/src/components/reader/hooks/usePageNavigation.ts +++ b/src/components/reader/hooks/usePageNavigation.ts @@ -118,7 +118,10 @@ export const usePageNavigation = ({ const distance = calculateDistance(event.touches[0], event.touches[1]); if (initialDistanceRef.current !== null) { const scale = distance / initialDistanceRef.current; - setZoomLevel((prevZoomLevel) => Math.max(1, prevZoomLevel * scale)); + const zoomFactor = 0.3; + setZoomLevel((prevZoomLevel) => + Math.min(3, Math.max(1, prevZoomLevel + (scale - 1) * zoomFactor)) + ); } } }, []);