Change double-tap zoom to match mobile expectations

pull/493/head
Lim Chee Aun 2024-04-10 15:03:02 +08:00
rodzic b85174155c
commit c9124bf150
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -140,7 +140,8 @@ function Media({
enabled: pinchZoomEnabled,
draggableUnZoomed: false,
inertiaFriction: 0.9,
doubleTapZoomOutOnMaxScale: true,
tapZoomFactor: 2,
doubleTapToggleZoom: true,
containerProps: {
className: 'media-zoom',
style: {