Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Increase movement threshold to 4.0 pixels

ashilkn49a8bf9e8fb8
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/swipe_selection_wrapper.dart b/mobile/apps/photos/lib/ui/viewer/gallery/swipe_selection_wrapper.dart
index fd66ccecf8..9d4d319dfc 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/swipe_selection_wrapper.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/swipe_selection_wrapper.dart
@@ -65,7 +65,7 @@ class _SwipeSelectionWrapperState extends State<SwipeSelectionWrapper>
static const double _baselineMaxScrollSpeed = 12.0; // 1440 px/s (12 * 120fps)
static const double _speedExponent = 1.20; // Power curve exponent
// Filters touch jitter on Samsung S series devices
- static const double _movementThreshold = 3.0;
+ static const double _movementThreshold = 4.0;
@override
void initState() {