This commit is contained in:
syuilo
2020-09-07 14:19:53 +09:00
parent 02701d852d
commit cd79314f69
38 changed files with 240 additions and 317 deletions

View File

@@ -58,7 +58,7 @@ export default defineComponent({
},
preview(ev) {
const picker = os.popup(MkReactionPicker, {
const picker = os.modal(MkReactionPicker, {
source: ev.currentTarget || ev.target,
reactions: this.splited,
showFocus: false,
@@ -73,7 +73,7 @@ export default defineComponent({
},
async chooseEmoji(ev) {
const vm = os.popup(await import('@/components/emoji-picker.vue'), {
const vm = os.modal(await import('@/components/emoji-picker.vue'), {
source: ev.currentTarget || ev.target
}).$once('chosen', emoji => {
this.reactions += emoji;