From 275fc55c79f8f5da831f2efb776321ba2f6ec55d Mon Sep 17 00:00:00 2001 From: meyou <2636699780@qq.com> Date: Sat, 16 May 2026 19:37:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E4=B8=AD=E6=80=81=E5=8A=A8=E7=94=BB?= =?UTF-8?q?=E4=BB=8E=20250ms=20=E7=BC=A9=E7=9F=AD=E5=88=B0=20150ms=20?= =?UTF-8?q?=E8=AE=A9=E5=9C=86=E7=8E=AF=E5=A1=AB=E5=85=85=E6=B6=88=E5=A4=B1?= =?UTF-8?q?=E6=9B=B4=E5=88=A9=E8=90=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commonMain/kotlin/plus/rua/project/ui/DayCell.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/shared/src/commonMain/kotlin/plus/rua/project/ui/DayCell.kt b/shared/src/commonMain/kotlin/plus/rua/project/ui/DayCell.kt index 74fe74b..5615d93 100644 --- a/shared/src/commonMain/kotlin/plus/rua/project/ui/DayCell.kt +++ b/shared/src/commonMain/kotlin/plus/rua/project/ui/DayCell.kt @@ -78,7 +78,7 @@ fun DayCell( val transition = updateTransition(targetState = currentState, label = "dayCell") val revealProgress by transition.animateFloat( - transitionSpec = { tween(250, easing = FastOutSlowInEasing) }, + transitionSpec = { tween(150, easing = FastOutSlowInEasing) }, label = "revealProgress" ) { state -> when (state) { @@ -88,7 +88,7 @@ fun DayCell( } val contentColor by transition.animateColor( - transitionSpec = { tween(250, easing = FastOutSlowInEasing) }, + transitionSpec = { tween(150, easing = FastOutSlowInEasing) }, label = "contentColor" ) { state -> when (state) { @@ -102,7 +102,7 @@ fun DayCell( // 选中今天:实心填充 primaryContainer;其他状态不填充。 val selectedFillColor by transition.animateColor( - transitionSpec = { tween(250, easing = FastOutSlowInEasing) }, + transitionSpec = { tween(150, easing = FastOutSlowInEasing) }, label = "selectedFillColor" ) { state -> when (state) { @@ -113,7 +113,7 @@ fun DayCell( // 选中非今天:绘制描边圆,避免遮挡右上角角标。 val selectedOutlineAlpha by transition.animateFloat( - transitionSpec = { tween(250, easing = FastOutSlowInEasing) }, + transitionSpec = { tween(150, easing = FastOutSlowInEasing) }, label = "selectedOutlineAlpha" ) { state -> when (state) { @@ -167,7 +167,7 @@ fun DayCell( } val lunarColor by transition.animateColor( - transitionSpec = { tween(250, easing = FastOutSlowInEasing) }, + transitionSpec = { tween(150, easing = FastOutSlowInEasing) }, label = "lunarColor" ) { state -> if (annotation.isHighlight) {