usuiat / Zoomable

Jetpack Compose library that enables contents zooming with pinch gesture.
https://usuiat.github.io/Zoomable/
Apache License 2.0
342 stars 16 forks source link

Rotation #154

Closed T8RIN closed 4 months ago

T8RIN commented 6 months ago

Is it possible to add rotation? (i know it is :))

T8RIN commented 6 months ago

image

image

This can be used as API reference, enable lambda gets zoom, pan, rotation and says to zoomable state should it update layout or intercept pointers to not go throught it, this is usefult in pagers, like each image is zoomed, but if it's not you can scroll

T8RIN commented 6 months ago

I don't like library that i provided firstly because it zooms very ugly and not in action performed place, instead in screen center and this is annoying

usuiat commented 6 months ago

@T8RIN Thank you for your suggestion. I know it's possible to rotate the element. But I don't see the need for that feature.

T8RIN commented 6 months ago

@T8RIN Thank you for your suggestion. I know it's possible to rotate the element. But I don't see the need for that feature.

It's more like i can rotate and it can go back for initial rotation when i stop holding fingers

usuiat commented 4 months ago

I will close this Issue because rotation does not fit the use case envisioned by this library.