mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-19 00:35:26 +02:00
Revert thresholds
This commit is contained in:
parent
864f7ba702
commit
010062f6a6
@ -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()
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user