svelte-easy-crop icon indicating copy to clipboard operation
svelte-easy-crop copied to clipboard

Feature request: rotation & onRotationChange

Open egertpiksar opened this issue 2 years ago • 1 comments

rotation number (in degrees)   Rotation of the media. Defaults to 0.
onRotationChange rotation => void   Called every time the rotation is changed (with mobile or multi-fingers gestures). Use it to update your rotation state.

https://github.com/ValentinH/react-easy-crop

egertpiksar avatar May 29 '23 12:05 egertpiksar

This is one of the most complex feature of the react version but must of the logic (especially the maths parts) can be taken as-is.

If someone is willing to create a PR, I'd be happy to review. However, I'll not have the time to do it myself.

ValentinH avatar May 30 '23 14:05 ValentinH