Skip to content

This pull request introduces a new property, initialCropRect, into the EditActionDetails #735

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tigranelyazyan
Copy link

This pull request introduces a new property, initialCropRect, into the EditActionDetails, so now you can pass a Rect for the initial crop.

@zmtzawqlp
Copy link
Member

initialCropRect
How to ensure that the user sets the correct initialCropRect value?

@tigranelyazyan
Copy link
Author

initialCropRect
How to ensure that the user sets the correct initialCropRect value?

There’s no need to enforce it. The user (developer) is responsible for handling it. For example, they can save the initialCropRect somewhere and, when reopening, provide that saved value.

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

Successfully merging this pull request may close these issues.

2 participants