jsibbold / zoomage

A simple pinch-to-zoom ImageView library for Android
http://jsibbold.github.io/zoomage
Apache License 2.0
315 stars 76 forks source link

Image bounds are not restricted when zooming. #94

Closed ArnyminerZ closed 4 years ago

ArnyminerZ commented 4 years ago

I have a ZoomageView with zoomage_restrictBounds set to true, and when dragging with a finger, this is perfect, but when you drag with two fingers, when zooming, for example, it allows you to exit the boundaries. Is it a bug, a feature or I do need to set up something else? Thank you very much.

jsibbold commented 4 years ago

That is intentional, as it could make zooming feel less natural if the bounds were suddenly restricted.