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/PaneLayoutModels.kt app/src/main/java/com/kawomi/githugandroid/Terminal.kt
This commit is contained in:
@@ -11,8 +11,8 @@ android {
|
|||||||
applicationId = "com.kawomi.githugandroid"
|
applicationId = "com.kawomi.githugandroid"
|
||||||
minSdk = 26
|
minSdk = 26
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 43
|
versionCode = 46
|
||||||
versionName = "0.1.42"
|
versionName = "0.1.45"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ fun defaultPaneLayout(): PaneLayout = PaneLayout(
|
|||||||
order = listOf(PaneId.EXERCISE, PaneId.TERMINAL, PaneId.VISUAL, PaneId.LEVELS),
|
order = listOf(PaneId.EXERCISE, PaneId.TERMINAL, PaneId.VISUAL, PaneId.LEVELS),
|
||||||
collapsed = emptySet(),
|
collapsed = emptySet(),
|
||||||
weights = mapOf(
|
weights = mapOf(
|
||||||
PaneId.EXERCISE to 1f,
|
PaneId.EXERCISE to 1.5f,
|
||||||
PaneId.TERMINAL to 1.45f,
|
PaneId.TERMINAL to 2.0f,
|
||||||
PaneId.VISUAL to 1.0f,
|
PaneId.VISUAL to 1.0f,
|
||||||
PaneId.LEVELS to 0.8f,
|
PaneId.LEVELS to 0.8f,
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ fun TerminalPane(
|
|||||||
) {
|
) {
|
||||||
Box(
|
Box(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.heightIn(min = maxOutputHeight, max = maxOutputHeight)
|
.heightIn(min = 200.dp, max = maxOutputHeight)
|
||||||
.height(desiredOutputHeight)
|
.height(desiredOutputHeight)
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.background(PanelPrimary, RoundedCornerShape(10.dp))
|
.background(PanelPrimary, RoundedCornerShape(10.dp))
|
||||||
|
|||||||
Reference in New Issue
Block a user