feat: increase emoji picker search results

This commit is contained in:
ibuki2003 2023-07-24 20:16:37 +09:00
parent 8851e90316
commit 355d40dc90
No known key found for this signature in database
GPG Key ID: 44308164C3BE562C
2 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,7 @@
### Client ### Client
- リストTLで、ユーザーが追加・削除されてもTLを初期化しないように - リストTLで、ユーザーが追加・削除されてもTLを初期化しないように
- 絵文字ピッカーの検索の表示件数を100件に増加
### Server ### Server
- -

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>();