diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2021-02-27 13:08:34 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2021-02-27 13:08:34 +0900 |
| commit | f29d417b30be5479a04a1898b883d9fa1cf11fe9 (patch) | |
| tree | 64dc364352829609481c141bae38bcf4228ab5c9 /src/client/ui | |
| parent | localeが古い場合自動更新するように (diff) | |
| download | misskey-f29d417b30be5479a04a1898b883d9fa1cf11fe9.tar.gz misskey-f29d417b30be5479a04a1898b883d9fa1cf11fe9.tar.bz2 misskey-f29d417b30be5479a04a1898b883d9fa1cf11fe9.zip | |
絵文字ピッカーを常に表示するように
Resolve #7265
Diffstat (limited to 'src/client/ui')
| -rw-r--r-- | src/client/ui/chat/note.vue | 2 | ||||
| -rw-r--r-- | src/client/ui/chat/post-form.vue | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/client/ui/chat/note.vue b/src/client/ui/chat/note.vue index 3c5c1acfdc..d80978e182 100644 --- a/src/client/ui/chat/note.vue +++ b/src/client/ui/chat/note.vue @@ -504,7 +504,7 @@ export default defineComponent({ pleaseLogin(); this.operating = true; this.blur(); - const { dispose } = await os.popup(import('@/components/emoji-picker.vue'), { + const { dispose } = await os.popup(import('@/components/emoji-picker-dialog.vue'), { src: this.$refs.reactButton, asReactionPicker: true }, { diff --git a/src/client/ui/chat/post-form.vue b/src/client/ui/chat/post-form.vue index b0a31b097d..9388989d5d 100644 --- a/src/client/ui/chat/post-form.vue +++ b/src/client/ui/chat/post-form.vue @@ -593,9 +593,7 @@ export default defineComponent({ }, async insertEmoji(ev) { - os.pickEmoji(ev.currentTarget || ev.target).then(emoji => { - insertTextAtCursor(this.$refs.text, emoji); - }); + os.openEmojiPicker(ev.currentTarget || ev.target, {}, this.$refs.text); }, showActions(ev) { |