TimOliver / TOCropViewController

A view controller for iOS that allows users to crop portions of UIImage objects
http://www.timoliver.com.au/2015/06/21/tocropviewcontroller-an-open-source-image-cropper-for-ios/
MIT License
4.71k stars 938 forks source link

Prevent from steadily zooming in when cycling between alternate aspectRatios and original #534

Closed yhkaplan closed 6 months ago

yhkaplan commented 2 years ago

Hi Tim, it's Josh from the Tokyo iOS Meetup. This doesn't keep the zoom level, but I think it makes sense to reset it when going back to the default one at least. Tell me what you think/if you disagree!

Issue below related

Before / After

https://user-images.githubusercontent.com/25879490/185714984-95002881-956a-41bf-a470-1a88501586c2.mp4

https://user-images.githubusercontent.com/25879490/185714935-0887fb2b-fac7-42d8-b249-f8f8271524d1.mp4

TimOliver commented 6 months ago

Hey @yhkaplan! Was great to see you on Threads the other day! Sorry for the delay! It's been a while since I got a hot minute to maintain this library. 🫠

Fantastic! What a simple, but elegant improvement to the UX. Thanks so much for that!