fix crop getting ignored when not scaling (oops)

This commit is contained in:
Green Sky
2025-11-23 14:36:04 +01:00
parent f4350b5d70
commit 997e2517a3

View File

@@ -569,8 +569,6 @@ void SendImagePopup::render(float time_delta) {
(int)std::ceil(crop_rect.w*scale_x),
(int)std::ceil(crop_rect.h*scale_y)
);
} else {
tmp_img = original_image;
}
std::vector<uint8_t> new_data;