YPImagePicker
YPImagePicker copied to clipboard
If onlySquare is enabled, execute fitImage on display.
#776
To fix above issue.
If onlySquare
is enabled when displaying an Asset, call fitImage
to crop it to a square.
You can see how it works in the sample apps in the feature/demo
branch.
https://github.com/hanawat/YPImagePicker/tree/feature/demo
Before | After |
---|---|
![]() |
![]() |
With this fix, the selected image view can't be moved up when scrolling. Can you take a look?
@keremcesme Thank you for your review. Videos in the library also used fitImage
.
@ramboli1986 Did you run that in the sample app? I checked and it works fine in the sample app.
@ramboli1986 Did you run that in the sample app? I checked and it works fine in the sample app.
Nvm, I can't repo it any more. Thanks for the fix.