Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: compound rotation

httpjamesm0847b8a955fe
diff --git a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
index 30f1bf77de..83f57e070c 100644
--- a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
+++ b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
@@ -300,8 +300,8 @@ const ImageEditorOverlay = (props: IProps) => {
// image.src = fileURL;
image.src = canvas.toDataURL();
- setCurrentRotationAngle(currentRotationAngle + angle);
- angle = currentRotationAngle + angle;
+ // setCurrentRotationAngle(currentRotationAngle + angle);
+ // angle = currentRotationAngle + angle;
console.log(angle);