mirror of
https://github.com/jlengrand/korge-samples.git
synced 2026-03-10 08:31:18 +00:00
1.12.8.0
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
korgePluginVersion=1.12.7.1
|
||||
#korgeVersion=1.12.7-SNAPSHOT
|
||||
korgePluginVersion=1.12.8.0
|
||||
#korgeVersion=1.12.8-SNAPSHOT
|
||||
#korimVersion=1.12.15
|
||||
#korimVersion=1.12.11-SNAPSHOT
|
||||
#korioVersion=1.11.2-SNAPSHOT
|
||||
|
||||
@@ -13,7 +13,7 @@ suspend fun main() = Korge(bgcolor = Colors["#333"]) {
|
||||
text("Hello World 2!", textSize = 32.0, font = font1) {
|
||||
val text = this
|
||||
fun center() {
|
||||
position(views.virtualWidth / 2 - width / 2, views.virtualHeight / 2)
|
||||
position(views.virtualWidth / 2 - width.toInt() / 2, views.virtualHeight / 2)
|
||||
}
|
||||
//filter = Convolute3Filter(Convolute3Filter.KERNEL_GAUSSIAN_BLUR)
|
||||
center()
|
||||
|
||||
Reference in New Issue
Block a user