From 3174e0bfe17d894b5e419934230161d08ac17721 Mon Sep 17 00:00:00 2001 From: stopflock Date: Wed, 19 Nov 2025 16:24:51 -0600 Subject: [PATCH] Adjust gesture thresholds --- lib/dev_config.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dev_config.dart b/lib/dev_config.dart index 2ba72a7..6d70460 100644 --- a/lib/dev_config.dart +++ b/lib/dev_config.dart @@ -112,9 +112,9 @@ const Duration kProximityAlertCooldown = Duration(minutes: 10); // Cooldown betw // Map interaction configuration const double kNodeDoubleTapZoomDelta = 1.0; // How much to zoom in when double-tapping nodes (was 1.0) const double kScrollWheelVelocity = 0.01; // Mouse scroll wheel zoom speed (default 0.005) -const double kPinchZoomThreshold = 0.5; // How much pinch required to start zoom (default 0.5) +const double kPinchZoomThreshold = 0.2; // How much pinch required to start zoom (reduced for gesture race) const double kPinchMoveThreshold = 30.0; // How much drag required for two-finger pan (default 40.0) -const double kRotationThreshold = 10.0; // Degrees of rotation required before map actually rotates (Google Maps style) +const double kRotationThreshold = 6.0; // Degrees of rotation required before map actually rotates (Google Maps style) // Tile fetch retry parameters (configurable backoff system) const int kTileFetchMaxAttempts = 16; // Number of retry attempts before giving up