1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-01 09:16:00 +00:00

Simplification

This commit is contained in:
M66B 2024-06-18 22:17:32 +02:00
parent ede84109cc
commit e315adfd14

View file

@ -291,7 +291,7 @@ class ImageHelper {
dh = scaleToPixels; dh = scaleToPixels;
} }
int w = Math.round(scaleToPixels); int w = scaleToPixels;
int h = Math.round(scaleToPixels * dh / dw); int h = Math.round(scaleToPixels * dh / dw);
svg.setDocumentWidth("100%"); svg.setDocumentWidth("100%");