usuiat / Zoomable

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

Enable zoom #151

Closed T8RIN closed 8 months ago

T8RIN commented 9 months ago

Ability to enable/disable zoom would be really nice

T8RIN commented 9 months ago

Like here https://github.com/SmartToolFactory/Compose-Zoom

usuiat commented 9 months ago

@T8RIN Thank you for your suggestion. I agree that the enable/disable feature is useful. I will consider adding this feature.

T8RIN commented 9 months ago

Thanks :)

usuiat commented 8 months ago

I added zoomEnabled parameter. The library you introduced had an implementation that asked enable/disable every time PointerInput occurred, but I decided that it was too much for Zoomable, so I made a simple implementation.

T8RIN commented 8 months ago

Okay, what's about another commits?👀