Auto-commit after successful build: update app gameplay/UI, improve build setup
Changed files:\napp/build.gradle.kts app/src/main/java/com/kawomi/githugandroid/Exercise.kt app/src/main/java/com/kawomi/githugandroid/Panes.kt app/src/main/java/com/kawomi/githugandroid/Terminal.kt
This commit is contained in:
@@ -43,7 +43,9 @@ fun ExercisePane(
|
||||
}
|
||||
TextButton(
|
||||
onClick = onToggleSuggestions,
|
||||
colors = ButtonDefaults.textButtonColors(contentColor = Accent),
|
||||
colors = ButtonDefaults.textButtonColors(containerColor = Accent,
|
||||
contentColor = Color.Black,
|
||||
),
|
||||
) {
|
||||
Text("Suggestions")
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ fun PaneWorkspace(
|
||||
}
|
||||
}
|
||||
|
||||
if (index < paneLayout.order.lastIndex) {
|
||||
if (index <= paneLayout.order.lastIndex) {
|
||||
val upper = paneId
|
||||
val lower = paneLayout.order[index + 1]
|
||||
PaneDivider(
|
||||
|
||||
@@ -120,7 +120,7 @@ fun TerminalPane(
|
||||
) {
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.heightIn(min = 120.dp, max = maxOutputHeight)
|
||||
.heightIn(min = 200.dp, max = maxOutputHeight)
|
||||
.height(desiredOutputHeight)
|
||||
.fillMaxWidth()
|
||||
.background(PanelPrimary, RoundedCornerShape(10.dp))
|
||||
|
||||
Reference in New Issue
Block a user