Skip to content

Add toggle button inside Painting Editor to switch mode #78

Closed Answered by hm21
thanglq1 asked this question in Q&A
Discussion options

You must be logged in to vote

Do you mean inside the Crop-Rotate-Editor? Or you required to crop the image inside the paint-editor?

If you want to change in the Crop-Rotate-Editor, you can edit the app or bottom bar like in the example. But be careful the round cropper only supports the aspect ratio 1×1 so if you allow the user to change the aspect ratio in the round cropper can it make some issues.

If you would like to change in the paint editor, it is not possible because the paint editor is not built for this case. What you can do is to create your own extended paint-editor if you copy the paint editor code and add a method where you can edit the transformConfigs. This will require a lot of logic, but you can copy/…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hm21
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants