From 16c40d51ed6dd1f248bb347ba6efb996271183dc Mon Sep 17 00:00:00 2001 From: Scott Cooper Date: Fri, 19 May 2023 17:50:31 -0700 Subject: [PATCH] fix: match sheet background function in emoji service fixes #424 --- src/lib/picker/ngx-emoji/emoji.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/picker/ngx-emoji/emoji.service.ts b/src/lib/picker/ngx-emoji/emoji.service.ts index 55741c2..13247ad 100644 --- a/src/lib/picker/ngx-emoji/emoji.service.ts +++ b/src/lib/picker/ngx-emoji/emoji.service.ts @@ -7,7 +7,7 @@ import { Emoji } from './emoji.component'; const COLONS_REGEX = /^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/; const SKINS = ['1F3FA', '1F3FB', '1F3FC', '1F3FD', '1F3FE', '1F3FF']; export const DEFAULT_BACKGROUNDFN = (set: string, sheetSize: number) => - `https://cdn.jsdelivr.net/npm/emoji-datasource-${set}@14.0.0/img/${set}/64/${sheetSize}.png`; + `https://cdn.jsdelivr.net/npm/emoji-datasource-${set}@14.0.0/img/${set}/sheets-256/${sheetSize}.png`; @Injectable({ providedIn: 'root' }) export class EmojiService {