From 9b75e0addbb7602310be46350db451a7a33e6286 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Sat, 4 May 2024 18:46:37 +0300 Subject: [PATCH] fix: 270 degrees camera image rotation --- src/gui/views/camera.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/views/camera.rs b/src/gui/views/camera.rs index cac5545..2164a7a 100644 --- a/src/gui/views/camera.rs +++ b/src/gui/views/camera.rs @@ -53,7 +53,7 @@ impl CameraContent { img = match img_data.1 { 90 => img.rotate90(), 180 => img.rotate180(), - 279 => img.rotate270(), + 270 => img.rotate270(), _ => img }; // Convert to ColorImage to add at content.