Fixed scaling of inline images

This commit is contained in:
M66B 2019-02-04 08:18:18 +00:00
parent 599c220ef5
commit 71b394eef2
1 changed files with 1 additions and 1 deletions

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;
}
}