0.8.0
Breaking changes
- Reordered
SubSamplingImage()
's parameters to moveModifier
below all required parameters.
New changes
- Update Compose UI to
1.6.1
and Compose Multiplatform to1.6.0-rc02
- Introduced ZoomableState#transformedContentBounds for observing transformed content bounds. This can be used for drawing decorations around the content or performing hit tests.
- Placeholder images now respond to click listeners. Additionally, they will swallow all other zoom gestures instead of ignoring them.
- #3: Read color space of bitmaps from Coil and Glide.
Bug fixes
- #60, #65: Improved detection of pinch-to-zoom gestures.
- #8: Composables with
Modifier.zoomable()
are now drawn on the first frame. This fixes their broken layout preview. - #58: Fixed a resource leak when an image's EXIF metadata is read.
ZoomableState#resetZoom()
now calculates the content's position on the same UI frame.- Images no longer flicker on start when they can't zoom-in any further.