fix photos from original camera is rotated in the preview page

This commit is contained in:
Ryan Zhao 2021-12-13 16:22:45 +11:00
parent bbccbe42c1
commit d74af622bc
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ public class ImageEditorCanvasView: UIView {
// of code simplicity. We could modify the image layer's
// transform to handle the normalization, which would
// have perf benefits.
return srcImage
return srcImage.normalized()
}
// MARK: - Content