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

Ability to enable/disable gestures in GestureCropImageView #609

Closed
premacck opened this issue Jan 7, 2020 · 3 comments
Closed

Ability to enable/disable gestures in GestureCropImageView #609

premacck opened this issue Jan 7, 2020 · 3 comments

Comments

@premacck
Copy link

premacck commented Jan 7, 2020

Thanks for this great library, it has been really helpful to me!
However on the crop page, I have a requirement to not move the image on dragging it.
So, I thought it would be better to give an option to disable the gesture in the GestureCropImageView when required.

Do you want to request a feature or report a bug?
Submitting an improvement

What is the current behavior?
No gesture enable/disable control to the user, no way to disable gestures like scroll to translate and double-tap to zoom

What is the expected behavior?
To provide the options to enable/disable gesture controls

Pull request for this issue: #608

@Marina24
Copy link

Hi @premacck We glad that you use our library. Please, check the freestyle crop feature in our sample.

@premacck
Copy link
Author

@Marina24 Apoligies for the delayed response
I am actually using the setFreeStyleCropEnabled(Boolean) method to enable or disable the cropping of the image, and when it's disabled, the user can't move the crop grid themselves.

But What I was talking about is the disabling of the gestures from the image behind the crop bounds, as I had a requirement to disable them in some cases, so that the user wouldn't move the image around while dragging it

@dmitriy1morozov
Copy link
Contributor

To be implemented with
#608

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

No branches or pull requests

3 participants