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

Add rotation feature #2

Open
gchumillas opened this issue Mar 16, 2024 · 0 comments
Open

Add rotation feature #2

gchumillas opened this issue Mar 16, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@gchumillas
Copy link
Owner

Currently the user can move or scale images.

Desired behavior: As an user I'd like to be able to rotate images as well.

The current image transformation is stored in the transformation state var:
https://github.com/gchumillas/image-editor/blob/master/src/ImageEditor/ImageEditor.tsx#L30

Add the rotate property to the transformation state var and update the code accordingly.

@gchumillas gchumillas added enhancement New feature or request good first issue Good for newcomers labels Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant