mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
fix rotation regression for Luma8
part of #27. This is an issue with get_matrix after a rotation.
This commit is contained in:
@@ -134,7 +134,8 @@ impl Luma8LuminanceSource {
|
||||
}
|
||||
}
|
||||
self.data = new_data;
|
||||
self.dimensions = new_dim
|
||||
self.dimensions = new_dim;
|
||||
self.original_dimension = (self.original_dimension.1, self.original_dimension.0);
|
||||
}
|
||||
|
||||
fn transpose(&mut self) {
|
||||
|
||||
Reference in New Issue
Block a user