Nuru Nabiyev
04/23/2023, 5:03 PM.scrollable(
state = ScrollableState {
canvasVM.offsetY += it
it
},
orientation = Orientation.Vertical
)
.scrollable(
state = ScrollableState {
canvasVM.offsetX += it
it
},
orientation = Orientation.Horizontal
)
Oleksandr Karpovich [JB]
04/24/2023, 8:35 AMIvan Matkov
04/24/2023, 2:25 PMcompose.scrolling.smooth.enabled = false
system propertyNuru Nabiyev
04/24/2023, 2:32 PMgradle.properties
? This did not help.Ivan Matkov
04/24/2023, 2:57 PMjvmArgs("-Dcompose.scrolling.smooth.enabled=false")
to your build script.
It should be something like that:
compose.desktop {
application {
mainClass = "MainKt"
jvmArgs("-Dcompose.scrolling.smooth.enabled=false")
...
To check if it works you can try to read it in your main (or whatever during app run) function:
val prop = "compose.scrolling.smooth.enabled"
println("$prop=" + System.getProperty(prop))
Nuru Nabiyev
04/24/2023, 4:22 PMSystem.setProperty(prop, "false")
(and logging confirmed it), but this did not help scrolling situationAlexander Maryanovsky
04/24/2023, 4:26 PMNuru Nabiyev
04/24/2023, 4:26 PMAlexander Maryanovsky
04/24/2023, 4:27 PMAlexander Maryanovsky
04/24/2023, 4:27 PMNuru Nabiyev
04/24/2023, 4:28 PMNuru Nabiyev
04/24/2023, 4:29 PMAlexander Maryanovsky
04/24/2023, 4:29 PMAlexander Maryanovsky
04/24/2023, 4:30 PMNuru Nabiyev
04/24/2023, 4:31 PMAlexander Maryanovsky
04/24/2023, 4:31 PMNuru Nabiyev
04/24/2023, 4:56 PMIvan Matkov
04/25/2023, 12:18 PM