From cef39f4ba36885e6c10acba6609aa9325c5094cc Mon Sep 17 00:00:00 2001 From: ryanzhao Date: Mon, 10 Jan 2022 14:10:02 +1100 Subject: [PATCH] make image rotation consistent with icon --- .../Image Editing/ImageEditorCropViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SignalUtilitiesKit/Media Viewing & Editing/Image Editing/ImageEditorCropViewController.swift b/SignalUtilitiesKit/Media Viewing & Editing/Image Editing/ImageEditorCropViewController.swift index 8cb6f74b8..fa0e74d3d 100644 --- a/SignalUtilitiesKit/Media Viewing & Editing/Image Editing/ImageEditorCropViewController.swift +++ b/SignalUtilitiesKit/Media Viewing & Editing/Image Editing/ImageEditorCropViewController.swift @@ -770,7 +770,7 @@ class ImageEditorCropViewController: OWSViewController { } @objc public func rotate90ButtonPressed() { - rotateButtonPressed(angleRadians: CGFloat.pi * 0.5, rotateCanvas: true) + rotateButtonPressed(angleRadians: -CGFloat.pi * 0.5, rotateCanvas: true) } private func rotateButtonPressed(angleRadians: CGFloat, rotateCanvas: Bool) {