Add an option to disable double tap to zoom.

This commit is contained in:
2025-04-29 11:18:59 +08:00
parent bf7b90313a
commit b37ea01aca
5 changed files with 19 additions and 0 deletions

View File

@@ -250,6 +250,7 @@ class _GalleryModeState extends State<_GalleryMode>
}
return PhotoViewGalleryPageOptions.customChild(
childSize: reader.size * 2,
controller: photoViewControllers[index],
minScale: PhotoViewComputedScale.contained * 1.0,
maxScale: PhotoViewComputedScale.covered * 10.0,