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

How to block crop event in View ? #630

Closed
theduc0x opened this issue Jun 24, 2024 · 2 comments · Fixed by #636
Closed

How to block crop event in View ? #630

theduc0x opened this issue Jun 24, 2024 · 2 comments · Fixed by #636

Comments

@theduc0x
Copy link

I want to block the crop event after setAspectRatio.
I have a list of AspectRatio and just let the user choose from those categories and the user can just drag and drop it in the View but I don't want the user to be able to crop the View again

image

I want to block the crop event from the 4 corners like in that picture, but still keep the hold and move event on it

@vanniktech
Copy link
Contributor

I think you'd want to set fixAspectRatio = true.

@vanniktech
Copy link
Contributor

Closing as a duplicate of #620

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

Successfully merging a pull request may close this issue.

2 participants