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 {
AnchoredDraggableState(
initialValue = DragState.CLOSED,
positionalThreshold = { distance -> distance * 0.5f },
velocityThreshold = { with(density) { HistoryItemHeight.toPx() } },
positionalThreshold = { 0f },
velocityThreshold = { 0f },
animationSpec = tween()
)
}