Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Landscape crop area shape and portrait images - initial fit by height #50

Open
JustUserHere opened this issue Dec 8, 2023 · 0 comments

Comments

@JustUserHere
Copy link

Hello dear,
with forceInsideCropArea: true portrait images on init fits by height and not by width. If zoom in/out button pressed it is zoomed to fit width (as it should be). I found workaround how to solve it, but probably it can be implemented in initial logic.
// Delay and then zoom in the image to fit the width
Future.delayed(Duration(milliseconds: 100), () {
_croppController.addTransition(CropImageData(scale: 1.00001));

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant