uppy/packages/@uppy/image-editor/src
Antoine du Hamel 0c510ee799
add more granular image rotation control (#2838)
* add more granular image rotation control

Fixes: https://github.com/transloadit/uppy/issues/2636

* fixup! add more granular image rotation control

* fixup! add more granular image rotation control

* fixup! add more granular image rotation control

* fixup! add more granular image rotation control

* add input-range-scss dependency

* Modify the rotation slider

- Better visual styles for the slider
- Position a toggle in the center of the slider
- Make it work better on moblile
- 90° rotation: rotate counterclockwise
- 90° rotation: update icon

* Use black background for the canvas when rotating (instead of gray)

* Use smaller range for granular rotation input

* Optimize event listeners

* Fix styles and state unsyncronisation

* Update package-lock.json

Co-authored-by: Alexander Zaytsev <nqst@users.noreply.github.com>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-06-13 14:31:19 +01:00
..
cropper.scss add more granular image rotation control (#2838) 2021-06-13 14:31:19 +01:00
Editor.js add more granular image rotation control (#2838) 2021-06-13 14:31:19 +01:00
index.js add more granular image rotation control (#2838) 2021-06-13 14:31:19 +01:00
inputrange.scss add more granular image rotation control (#2838) 2021-06-13 14:31:19 +01:00
style.scss add more granular image rotation control (#2838) 2021-06-13 14:31:19 +01:00