feat: increase emoji picker search results (#116)

Co-authored-by: ibuki2003 <main@fuwa.dev>
This commit is contained in:
まっちゃとーにゅ 2023-07-27 06:03:08 +09:00 committed by GitHub
parent 1e6389d990
commit 92ecf2fe12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,7 @@ watch(q, () => {
const newQ = q.value.replace(/:/g, '').toLowerCase(); const newQ = q.value.replace(/:/g, '').toLowerCase();
const searchCustom = () => { const searchCustom = () => {
const max = 8; const max = 100;
const emojis = customEmojis.value; const emojis = customEmojis.value;
const matches = new Set<Misskey.entities.CustomEmoji>(); const matches = new Set<Misskey.entities.CustomEmoji>();
@ -214,7 +214,7 @@ watch(q, () => {
}; };
const searchUnicode = () => { const searchUnicode = () => {
const max = 8; const max = 100;
const emojis = emojilist; const emojis = emojilist;
const matches = new Set<UnicodeEmojiDef>(); const matches = new Set<UnicodeEmojiDef>();