lewik
07/20/2022, 12:57 PMdarkmoon_uk
07/20/2022, 2:55 PMspierce7
07/20/2022, 3:47 PMMichael Paus
07/20/2022, 6:10 PMGreg Steckman
07/21/2022, 2:53 AMsuspend fun PointerInputScope.detectTransformGestures(
panZoomLock: Boolean = false,
onGesture: (centroid: Offset, pan: Offset, zoom: Float, rotation: Float) -> Unit
)
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?