diff --git a/services/gam/src/bitmap.rs b/services/gam/src/bitmap.rs index 773e4c409..aa10284ad 100644 --- a/services/gam/src/bitmap.rs +++ b/services/gam/src/bitmap.rs @@ -165,9 +165,10 @@ impl Bitmap { }; if rotate { - bm.rotate90(); + bm.rotate90() + } else { + bm } - bm } fn fit(from: Point, into: Point) -> (bool, usize) {