π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Simplfied: Vertical drag function
Muhammed Ayimena70a5f95da7b
diff --git a/lib/ui/viewer/file/zoomable_image.dart b/lib/ui/viewer/file/zoomable_image.dartindex c3f7aef30f..51597e90e2 100644--- a/lib/ui/viewer/file/zoomable_image.dart+++ b/lib/ui/viewer/file/zoomable_image.dart@@ -112,11 +112,9 @@ class _ZoomableImageState extends State<ZoomableImage>};verticalDragCallback(d) {- if (_initialScale != null &&+ if (_initialScale == null ||_photoViewController.scale! <= _initialScale!) {dragFunction(d);- } else if (_initialScale == null) {- dragFunction(d);}}