lewik07/20/2022, 12:57 PM
darkmoon_uk07/20/2022, 2:55 PM
spierce707/20/2022, 3:47 PM
Michael Paus07/20/2022, 6:10 PM
Greg Steckman07/21/2022, 2:53 AM
but it does not seem to work on Desktop or web-canvas with the scroll wheel. I had a look at the documentation for awaitPointerEventScope - it looks like if you use PointerEvent.calculateZoom() then you may not need to use detectTransformGestures at all? Does that behave as expected for desktop?
suspend fun PointerInputScope.detectTransformGestures( panZoomLock: Boolean = false, onGesture: (centroid: Offset, pan: Offset, zoom: Float, rotation: Float) -> Unit )