1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-31 19:41:19 +00:00

Fixed scaling of inline images

This commit is contained in:
M66B 2019-02-04 08:18:18 +00:00
parent 599c220ef5
commit 71b394eef2

View file

@ -156,7 +156,7 @@ public class HtmlHelper {
return d;
} else {
Drawable d = new BitmapDrawable(bm);
d.setBounds(0, 0, bm.getWidth(), bm.getHeight());
d.setBounds(0, 0, d.getIntrinsicWidth(), d.getIntrinsicHeight());
return d;
}
}