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:
parent
599c220ef5
commit
71b394eef2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue