mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
fix right edge of scaled text getting clipped by paying attention to
where getTextBounds() says its left edge is.
This commit is contained in:
parent
43e8205fd8
commit
c41c877ae7
1 changed files with 1 additions and 1 deletions
|
@ -945,7 +945,7 @@ public class BoardView extends View implements DrawCtx, BoardHandler,
|
|||
|
||||
Canvas canvas = new Canvas( bitmap );
|
||||
int bottom = local.bottom - descent;
|
||||
canvas.drawText( text, 0, bottom, m_fillPaint );
|
||||
canvas.drawText( text, -local.left, bottom, m_fillPaint );
|
||||
|
||||
m_canvas.drawBitmap( bitmap, null, rect, m_drawPaint );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue