Adjust anim specs

This commit is contained in:
GG Bond authored and Vladimir Dostoyevskiy committed 2023-12-28 00:39:06 +08:00
1 parent 0333a8c679
commit 99b8ee1f78
1 file changed
+1 -1
@@ -75,7 +75,7 @@ class DrawerState2(
val anchoredDraggableState = AnchoredDraggableState(
initialValue = initialValue,
snapAnimationSpec = AnimationSpec,
decayAnimationSpec = exponentialDecay(),
decayAnimationSpec = exponentialDecay(7.5f),
confirmValueChange = confirmStateChange,
positionalThreshold = { distance -> distance * DrawerPositionalThreshold },
velocityThreshold = { with(requireDensity()) { DrawerVelocityThreshold.toPx() } },