perf: layoutReady alpha() → graphicsLayer

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
xfy 2026-05-25 16:55:15 +08:00
parent 4664d352bd
commit 6a4907f465

View File

@ -193,7 +193,7 @@ fun CalendarMonthView(
modifier = Modifier modifier = Modifier
.fillMaxSize() .fillMaxSize()
.background(MaterialTheme.colorScheme.background) .background(MaterialTheme.colorScheme.background)
.alpha(if (layoutReady) 1f else 0f) .graphicsLayer { alpha = if (layoutReady) 1f else 0f }
) { ) {
Column( Column(
modifier = Modifier modifier = Modifier