Browse Source

Updated desktop-template and Scrollbars tutorial according to build153.

pull/383/head
Roman Sedaikin 4 years ago
parent
commit
de0496d980
  1. 2
      templates/desktop-template/build.gradle.kts
  2. 6
      tutorials/Scrollbars/README.md

2
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 {

6
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

Loading…
Cancel
Save