From 31621f580f963ccf533cf9fb8ff3322d01df2a34 Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Mon, 15 Sep 2025 06:03:08 +0200 Subject: [PATCH] adjust velocity values --- .../presentation/widgets/draggable_scrollable_header.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/features/geckoview/features/browser/presentation/widgets/draggable_scrollable_header.dart b/app/lib/features/geckoview/features/browser/presentation/widgets/draggable_scrollable_header.dart index 9e36e50e..230d7674 100644 --- a/app/lib/features/geckoview/features/browser/presentation/widgets/draggable_scrollable_header.dart +++ b/app/lib/features/geckoview/features/browser/presentation/widgets/draggable_scrollable_header.dart @@ -37,9 +37,9 @@ class DraggableScrollableHeader extends StatefulWidget { super.key, required this.controller, required this.child, - this.velocitySensitivity = 0.35, // Higher = more sensitive to velocity + this.velocitySensitivity = 0.25, // Higher = more sensitive to velocity this.maxVelocity = 2500.0, // Maximum velocity to consider - this.minVelocity = 150.0, // Minimum velocity to trigger momentum + this.minVelocity = 50.0, // Minimum velocity to trigger momentum this.animationDuration = const Duration(milliseconds: 300), this.animationCurve = Curves.decelerate, this.dragSensitivity = 1.0, // Controls drag responsiveness