Change double-tap zoom to match mobile expectations
This commit is contained in:
parent
b85174155c
commit
c9124bf150
1 changed files with 2 additions and 1 deletions
|
@ -140,7 +140,8 @@ function Media({
|
||||||
enabled: pinchZoomEnabled,
|
enabled: pinchZoomEnabled,
|
||||||
draggableUnZoomed: false,
|
draggableUnZoomed: false,
|
||||||
inertiaFriction: 0.9,
|
inertiaFriction: 0.9,
|
||||||
doubleTapZoomOutOnMaxScale: true,
|
tapZoomFactor: 2,
|
||||||
|
doubleTapToggleZoom: true,
|
||||||
containerProps: {
|
containerProps: {
|
||||||
className: 'media-zoom',
|
className: 'media-zoom',
|
||||||
style: {
|
style: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue