From 9544cb7526bc07ac75c1751c0ade49fec9991fb9 Mon Sep 17 00:00:00 2001 From: meyou <2636699780@qq.com> Date: Sat, 16 May 2026 11:24:34 +0800 Subject: [PATCH] Only show anchor row background during collapse, not on initial render --- .../commonMain/kotlin/plus/rua/project/ui/CalendarMonthPage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/commonMain/kotlin/plus/rua/project/ui/CalendarMonthPage.kt b/shared/src/commonMain/kotlin/plus/rua/project/ui/CalendarMonthPage.kt index f5089f2..4c85da7 100644 --- a/shared/src/commonMain/kotlin/plus/rua/project/ui/CalendarMonthPage.kt +++ b/shared/src/commonMain/kotlin/plus/rua/project/ui/CalendarMonthPage.kt @@ -127,7 +127,7 @@ fun CalendarMonthPage( else Modifier ) .then( - if (isAnchor) Modifier.background(MaterialTheme.colorScheme.surface) + if (isAnchor && collapseProgress > 0f) Modifier.background(MaterialTheme.colorScheme.surface) else Modifier ) .offset(y = yOffsetDp)