fix: 出牌状态条固定2行高度,不再动态变化导致割裂
This commit is contained in:
parent
6bf797e2a9
commit
e763f0388c
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user