mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 09:16:00 +00:00
Simplification
This commit is contained in:
parent
ede84109cc
commit
e315adfd14
1 changed files with 1 additions and 1 deletions
|
@ -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%");
|
||||||
|
|
Loading…
Reference in a new issue