Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crate/src/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ pub fn resize_img_browser(
let height = resized_img.height();

canvas.set_width(width);
canvas.set_height(width);
canvas.set_height(height);

let new_img_data = ImageData::new_with_u8_clamped_array_and_sh(
Clamped(&mut resized_img.into_bytes()),
Expand Down