Composables UI is out: our new component library for Compose Multiplatform ->
Function

calculateZoom

Uses the change of the centroid size between the PointerInputChange.previousPosition and PointerInputChange.position to determine how much zoom was intended.

Last updated: