Compose Unstyled 2.0 is out! Check the official announcement blog ->
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: