[bug] Stop squimpshing the thumb'd nails

This commit is contained in:
Emi Simpson 2022-11-09 17:51:49 -05:00
parent faa8776740
commit 486970692d
Signed by: Emi
GPG key ID: A12F2C2FFDC3D847

View file

@ -17,7 +17,7 @@ pub fn thumbnail(bytes: &[u8]) -> ImageResult<(Option<WebPMemory>, u32, u32, Web
let scaled = if new_dimm < 400 {
cropped
} else {
original_image.thumbnail_exact(400, 400)
cropped.thumbnail_exact(400, 400)
}.into_rgba8();
let scale = scaled.width();