@ -4,7 +4,7 @@ plugins {
id("org.jetbrains.intellij") version "0.6.5"
java
kotlin("jvm") version "1.4.30"
id("org.jetbrains.compose") version "0.3.0-build149"
id("org.jetbrains.compose") version "0.3.0-build154"
}
group = "org.example"
@ -37,7 +37,7 @@ fun ComposeSizeAdjustmentWrapper(
packed = true
},
measureBlock = { _, _ ->
measurePolicy = { _, _ ->
layout(0, 0) {}
)
@ -82,7 +82,6 @@ fun Toggles() {
Slider(value = sliderState2, modifier = Modifier.fillMaxWidth().padding(8.dp),
valueRange = 0f..100f,
steps = 5,
thumbColor = MaterialTheme.colors.secondary,
onValueChange = { newValue ->
sliderState2 = newValue