Revert thresholds

This commit is contained in:
Sad Ellie 2023-09-30 14:19:25 +03:00
parent 864f7ba702
commit 010062f6a6

View File

@ -186,8 +186,8 @@ private fun Ready(
val dragState = remember { val dragState = remember {
AnchoredDraggableState( AnchoredDraggableState(
initialValue = DragState.CLOSED, initialValue = DragState.CLOSED,
positionalThreshold = { distance -> distance * 0.5f }, positionalThreshold = { 0f },
velocityThreshold = { with(density) { HistoryItemHeight.toPx() } }, velocityThreshold = { 0f },
animationSpec = tween() animationSpec = tween()
) )
} }