Reduced attack button size.

This commit is contained in:
lightheel 2025-08-05 19:55:36 -04:00
parent b74b04cda9
commit 26842d1b1b

View File

@ -742,15 +742,15 @@ fun MiddleBattleView(
}, },
enabled = battleSystem.isAttackButtonEnabled, enabled = battleSystem.isAttackButtonEnabled,
modifier = Modifier modifier = Modifier
.fillMaxWidth() .fillMaxWidth(0.5f)
.height(50.dp), .height(35.dp),
colors = ButtonDefaults.buttonColors( colors = ButtonDefaults.buttonColors(
containerColor = Color.Red, containerColor = Color.Blue,
disabledContainerColor = Color.Gray disabledContainerColor = Color.Gray
), ),
shape = RoundedCornerShape(8.dp) shape = RoundedCornerShape(8.dp)
) { ) {
Text("Attack", color = Color.White, fontSize = 18.sp) Text("Attack", color = Color.White, fontSize = 12.sp)
} }
} }
} }