feat(ui): 为日期记录器网格添加元素删除与平移过渡动画
This commit is contained in:
parent
a2a631c141
commit
b333c527da
@ -370,7 +370,15 @@ private fun RecordGrid(
|
||||
} else {
|
||||
onStartSelectionWith(record.id)
|
||||
}
|
||||
}
|
||||
},
|
||||
modifier = Modifier.animateItem(
|
||||
fadeInSpec = tween(300),
|
||||
fadeOutSpec = tween(300),
|
||||
placementSpec = spring(
|
||||
stiffness = Spring.StiffnessMediumLow,
|
||||
dampingRatio = Spring.DampingRatioMediumBouncy
|
||||
)
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user