Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce0203 committed Aug 3, 2023
1 parent 5f49728 commit 37bb62c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions client/src/commonMain/kotlin/scene/MainScene.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ class MainScene : Scene() {
override suspend fun SContainer.sceneMain() {
sceneContainer.container {
text(getKoin().get<String>(named("version")), textSize = 15f) {
positionY(sceneContainer.height - height)
positionX(5)
val padding = 5
positionY(padding + sceneContainer.height - height)
positionX(padding)
}.zIndex(100)
zIndex(100)
}
Expand Down
2 changes: 1 addition & 1 deletion client/src/commonMain/resources/client.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
server=$server
version=Test Build
version=$version
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ kotlin.mpp.stability.nowarn=true
#org.gradle.unsafe.configuration-cache=true
kotlin.mpp.androidSourceSetLayoutVersion1.nowarn=true
server=http://localhost:8080
version=Test Build

0 comments on commit 37bb62c

Please sign in to comment.