background to MidiControlPanel

This commit is contained in:
hasina 2026-01-19 11:01:44 +03:00
parent 3c34637bfe
commit c63a72aa46

View file

@ -121,14 +121,15 @@ fun MidiControlPanel(
Column (
modifier = modifier
.fillMaxWidth()
.padding(16.dp),
.padding(16.dp)
.background(color = Color.Gray.copy(alpha = 0.5f), shape = RoundedCornerShape(size = 5.dp)),
horizontalAlignment = Alignment.CenterHorizontally
) {
Row (
verticalAlignment = Alignment.CenterVertically,
horizontalArrangement = Arrangement.spacedBy(8.dp)
) {
Text("${currentPos.toInt() / 1000}s")
Text("${currentPos.toInt() / 1000}s", color = Color.White)
Slider(
value = currentPos,
onValueChange = onSeek,
@ -159,7 +160,7 @@ fun MidiControlPanel(
)
}
)
Text("${momo / 1000}s")
Text("${momo / 1000}s", color = Color.White)
}