Shagen Ogandzhanian 3 years ago
parent
commit
749cca78a3
  1. 2
      examples/falling-balls-web/src/jsMain/kotlin/androidx/compose/web/with-web/App.kt

2
examples/falling-balls-web/src/jsMain/kotlin/androidx/compose/web/with-web/App.kt

@ -8,7 +8,7 @@ import org.jetbrains.compose.demo.falling.Game
import androidx.compose.runtime.remember
import kotlinx.browser.window
import org.jetbrains.compose.web.css.Style
import org.jetbrains.compose.web.ui.Styles
ymport org.jetbrains.compose.web.ui.Styles
class JsGame : Game() {
override fun now() = window.performance.now().toLong()

Loading…
Cancel
Save