Fix small UI issues
This commit is contained in:
parent
1eb19f170c
commit
99f15dbd33
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ public class ContextMenuLayer extends OsmandMapLayer {
|
||||||
canvas.translate(-tx, -ty);
|
canvas.translate(-tx, -ty);
|
||||||
|
|
||||||
if (textView.getText().length() > 0) {
|
if (textView.getText().length() > 0) {
|
||||||
canvas.translate(x - textView.getWidth() / 2, ty - textView.getTop());
|
canvas.translate(x - textView.getWidth() / 2, ty - textView.getBottom());
|
||||||
int c = textView.getLineCount();
|
int c = textView.getLineCount();
|
||||||
|
|
||||||
textView.draw(canvas);
|
textView.draw(canvas);
|
||||||
|
|
Loading…
Reference in a new issue