Fixed scaling of inline images

pull/147/head
M66B 7 years ago
parent 599c220ef5
commit 71b394eef2

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

Loading…
Cancel
Save