fix: 270 degrees camera image rotation

This commit is contained in:
ardocrat 2024-05-04 18:46:37 +03:00
parent 14e69feae5
commit 9b75e0addb

View file

@ -53,7 +53,7 @@ impl CameraContent {
img = match img_data.1 { img = match img_data.1 {
90 => img.rotate90(), 90 => img.rotate90(),
180 => img.rotate180(), 180 => img.rotate180(),
279 => img.rotate270(), 270 => img.rotate270(),
_ => img _ => img
}; };
// Convert to ColorImage to add at content. // Convert to ColorImage to add at content.