kopia lustrzana https://github.com/ryukoposting/Signal-Android
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.fork-5.53.8
rodzic
90397165c3
commit
d0827eb48e
|
@ -122,10 +122,10 @@ class EmojiProvider {
|
||||||
final int xStart = (index % emojiPerRow) * glyphWidth;
|
final int xStart = (index % emojiPerRow) * glyphWidth;
|
||||||
final int yStart = (index / emojiPerRow) * glyphHeight;
|
final int yStart = (index / emojiPerRow) * glyphHeight;
|
||||||
|
|
||||||
this.emojiBounds = new Rect(xStart,
|
this.emojiBounds = new Rect(xStart + 1,
|
||||||
yStart,
|
yStart + 1,
|
||||||
xStart + glyphWidth,
|
xStart + glyphWidth - 1,
|
||||||
yStart + glyphHeight);
|
yStart + glyphHeight - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Ładowanie…
Reference in New Issue