mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-09 01:26:24 +01:00
double-tap zoom out once reach max scale
This commit is contained in:
parent
a37c3d6081
commit
d62712d587
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ function Media({
|
||||||
enabled: pinchZoomEnabled,
|
enabled: pinchZoomEnabled,
|
||||||
draggableUnZoomed: false,
|
draggableUnZoomed: false,
|
||||||
inertiaFriction: 0.9,
|
inertiaFriction: 0.9,
|
||||||
|
doubleTapZoomOutOnMaxScale: true,
|
||||||
containerProps: {
|
containerProps: {
|
||||||
className: 'media-zoom',
|
className: 'media-zoom',
|
||||||
style: {
|
style: {
|
||||||
|
|
Loading…
Reference in a new issue