fix: 270 degrees camera image rotation
This commit is contained in:
parent
14e69feae5
commit
9b75e0addb
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue