diff --git a/templates/desktop-template/build.gradle.kts b/templates/desktop-template/build.gradle.kts index ff3dfbd34c..599fde50ec 100644 --- a/templates/desktop-template/build.gradle.kts +++ b/templates/desktop-template/build.gradle.kts @@ -5,7 +5,7 @@ plugins { // __KOTLIN_COMPOSE_VERSION__ kotlin("jvm") version "1.4.30" // __LATEST_COMPOSE_RELEASE_VERSION__ - id("org.jetbrains.compose") version (System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.3.0-build150") + id("org.jetbrains.compose") version (System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.3.0-build153") } repositories { diff --git a/tutorials/Scrollbars/README.md b/tutorials/Scrollbars/README.md index 3307856cb5..89130c7732 100644 --- a/tutorials/Scrollbars/README.md +++ b/tutorials/Scrollbars/README.md @@ -41,8 +41,8 @@ fun main() { .background(color = Color(180, 180, 180)) .padding(10.dp) ) { - val stateVertical = rememberScrollState(0f) - val stateHorizontal = rememberScrollState(0f) + val stateVertical = rememberScrollState(0) + val stateHorizontal = rememberScrollState(0) Box( modifier = Modifier @@ -207,7 +207,7 @@ fun main() { .background(color = Color(180, 180, 180)) .padding(10.dp) ) { - val state = rememberScrollState(0f) + val state = rememberScrollState(0) Column( modifier = Modifier