This commit is contained in:
syuilo
2020-09-06 18:38:09 +09:00
parent 3762116c17
commit d79a1a4e0e
36 changed files with 135 additions and 130 deletions

View File

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