fix: compound rotation
This commit is contained in:
parent
1062429645
commit
0847b8a955
|
@ -300,8 +300,8 @@ const ImageEditorOverlay = (props: IProps) => {
|
||||||
// image.src = fileURL;
|
// image.src = fileURL;
|
||||||
image.src = canvas.toDataURL();
|
image.src = canvas.toDataURL();
|
||||||
|
|
||||||
setCurrentRotationAngle(currentRotationAngle + angle);
|
// setCurrentRotationAngle(currentRotationAngle + angle);
|
||||||
angle = currentRotationAngle + angle;
|
// angle = currentRotationAngle + angle;
|
||||||
|
|
||||||
console.log(angle);
|
console.log(angle);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue