fix: 返回动画结束时 alpha 完全归零,消除闪屏

This commit is contained in:
meyou 2026-05-19 22:34:02 +08:00
parent bde143a25b
commit 911b8f2293
No known key found for this signature in database

View File

@ -38,7 +38,7 @@ private fun GraphicsLayerScope.applyDismissTransform(progress: Float) {
translationX = progress * size.width * 0.5f
scaleX = 1f - progress * 0.08f
scaleY = 1f - progress * 0.08f
alpha = 1f - progress * 0.8f
alpha = 1f - progress
shadowElevation = 32.dp.toPx() * progress
shape = RoundedCornerShape(28.dp * progress)
clip = progress > 0.01f