fix: 出牌状态条固定2行高度,不再动态变化导致割裂

This commit is contained in:
flykhan 2026-04-26 23:20:17 +08:00
parent 6bf797e2a9
commit e763f0388c

View File

@ -69,7 +69,7 @@ fun GameScreen(
.padding(top = 16.dp, bottom = (100f - handOffset).coerceAtLeast(0f).dp) .padding(top = 16.dp, bottom = (100f - handOffset).coerceAtLeast(0f).dp)
) { ) {
// 出牌状态条最多2行 // 出牌状态条最多2行
Box(modifier = Modifier.fillMaxWidth().heightIn(min = 36.dp, max = 56.dp)) { Box(modifier = Modifier.fillMaxWidth().height(48.dp)) {
if (gameState.message.isNotEmpty()) { if (gameState.message.isNotEmpty()) {
Card( Card(
modifier = Modifier modifier = Modifier