Use 2x srcset for jumbomoji

This commit is contained in:
Fedor Indutny 2024-06-26 14:08:28 -07:00 committed by GitHub
parent 2d9b814b35
commit 6e0f1de2f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ function getImageTag({
let srcSet: string | undefined;
if (sizeClass != null && JUMBO_SIZES.has(sizeClass)) {
srcSet = `emoji://jumbo?emoji=${encodeURIComponent(match)}, ${img}`;
srcSet = `emoji://jumbo?emoji=${encodeURIComponent(match)} 2x, ${img}`;
}
return (