Browse Source

Move Falling Balls to 0.0.0-master-build413

pull/1281/head
Nikolay Igotti 3 years ago
parent
commit
5d49936246
  1. 2
      examples/falling-balls/build.gradle.kts
  2. 4
      examples/falling-balls/src/main/kotlin/main.kt

2
examples/falling-balls/build.gradle.kts

@ -6,7 +6,7 @@ plugins {
// __KOTLIN_COMPOSE_VERSION__
kotlin("jvm") version "1.5.31"
// __LATEST_COMPOSE_RELEASE_VERSION__
id("org.jetbrains.compose") version "1.0.0-alpha4-build361"
id("org.jetbrains.compose") version "0.0.0-master-build413"
}
group = "me.user"

4
examples/falling-balls/src/main/kotlin/main.kt

@ -1,14 +1,14 @@
package org.jetbrains.compose.demo.falling
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.WindowSize
import androidx.compose.ui.window.WindowState
import androidx.compose.ui.window.singleWindowApplication
@OptIn(ExperimentalComposeUiApi::class)
fun main() = singleWindowApplication(
title = "Falling Balls", state = WindowState(size = WindowSize(800.dp, 800.dp))
title = "Falling Balls", state = WindowState(size = DpSize(800.dp, 800.dp))
) {
FallingBallsGame()
}

Loading…
Cancel
Save