diff --git a/Sources/Mantis/CropView/CropView.swift b/Sources/Mantis/CropView/CropView.swift index 6ee928c0..6fceb4bd 100644 --- a/Sources/Mantis/CropView/CropView.swift +++ b/Sources/Mantis/CropView/CropView.swift @@ -976,7 +976,15 @@ extension CropView: CropViewProtocol { viewModel.fixedImageRatio = cropState.aspectRato flipOddTimes = cropState.flipOddTimes - let newTransform = getTransformInfo(byTransformInfo: cropState.transformation) + var newTransform = getTransformInfo(byTransformInfo: cropState.transformation) + + if viewModel.horizontallyFlip { + newTransform.rotation = -newTransform.rotation + } + + if viewModel.verticallyFlip { + newTransform.rotation = -newTransform.rotation + } if newTransform.maskFrame != .zero { viewModel.cropBoxFrame = newTransform.maskFrame