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

Allow setting padding for crop area #538

Closed
coproductions opened this issue May 14, 2024 · 2 comments
Closed

Allow setting padding for crop area #538

coproductions opened this issue May 14, 2024 · 2 comments

Comments

@coproductions
Copy link

coproductions commented May 14, 2024

Is your feature request related to a problem? Please describe.
When restrictPosition is set to false, it would be great if there was a way to add some padding to the sides/height of the crop area.
Currently when the image already has the correct aspect ratio or similar it fills out the entire crop area horizontally.
Screenshot 2024-05-14 at 8 31 39 AM
Describe the solution you'd like
It would be great to allow for there always to be a certain amount of grey border around the image in the crop area, to make it clear that they can zoom in both directions.

screenshot_2024-05-13_at_6 16 59___pm

@ValentinH
Copy link
Owner

Thanks for using the issue template!
This issue might help you: #502

@coproductions
Copy link
Author

Yes that helped. 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

2 participants