From 3ce8c47c0bf6c164d0e7e5c9546572d40e8fea01 Mon Sep 17 00:00:00 2001 From: Ibuki Sugiyama Date: Sun, 5 Nov 2023 21:02:47 +0900 Subject: [PATCH] fix: increase emoji picker search results (close #13) Co-authored-by: naskya --- README.md | 1 + packages/client/src/components/MkEmojiPicker.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b8f03ad1a..dbfa928a9 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ ## 細かい変更点 +- 絵文字ピッカーに表示されるカスタム絵文字の検索結果の件数を最大 100 件に変更(Misskey の変更を取り込み) - HTML のコードに入るコメントアートを削除 - 全ページにこんなの入れなくても…… - 本家 Firefish へのまだマージされていないマージリクエストを独断でマージ diff --git a/packages/client/src/components/MkEmojiPicker.vue b/packages/client/src/components/MkEmojiPicker.vue index 3e911c152..c4cdf6826 100644 --- a/packages/client/src/components/MkEmojiPicker.vue +++ b/packages/client/src/components/MkEmojiPicker.vue @@ -258,7 +258,7 @@ watch(q, () => { const newQ = q.value.replace(/:/g, "").toLowerCase(); const searchCustom = () => { - const max = 16; + const max = 100; const emojis = customEmojis; const matches = new Set();