Fix emoji rendering artifact.
There's sometimes this one pixel line that can appear next to them. Easiest solution for now is to trim it off.
This commit is contained in:
parent
90397165c3
commit
d0827eb48e
1 changed files with 4 additions and 4 deletions
|
@ -122,10 +122,10 @@ class EmojiProvider {
|
|||
final int xStart = (index % emojiPerRow) * glyphWidth;
|
||||
final int yStart = (index / emojiPerRow) * glyphHeight;
|
||||
|
||||
this.emojiBounds = new Rect(xStart,
|
||||
yStart,
|
||||
xStart + glyphWidth,
|
||||
yStart + glyphHeight);
|
||||
this.emojiBounds = new Rect(xStart + 1,
|
||||
yStart + 1,
|
||||
xStart + glyphWidth - 1,
|
||||
yStart + glyphHeight - 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue