forked from mirror/monocles_chat
Better y position for inline image span
This commit is contained in:
parent
8d5cfd73e9
commit
233f440374
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public class InlineImageSpan extends ImageSpan {
|
|||
Drawable b = getDrawable();
|
||||
canvas.save();
|
||||
|
||||
int transY = 0;
|
||||
int transY = bottom - ((int) (dHeight * mRatio));
|
||||
if (mVerticalAlignment == ALIGN_BASELINE) {
|
||||
transY -= paint.getFontMetricsInt().descent;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue