This commit is contained in:
ThatOneCalculator 2022-11-06 20:08:28 -08:00
parent 33c9a77984
commit 2ca7f0ad87
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<template>
<MkModal ref="window"
<MkWindow ref="window"
:initial-width="null"
:initial-height="null"
:can-resize="false"
@ -8,12 +8,12 @@
@closed="emit('closed')"
>
<MkEmojiPicker :show-pinned="showPinned" :as-reaction-picker="asReactionPicker" @chosen="chosen"/>
</MkModal>
</MkWindow>
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkModal from '@/components/MkModal.vue';
import MkWindow from '@/components/MkWindow.vue';
import MkEmojiPicker from '@/components/MkEmojiPicker.vue';
withDefaults(defineProps<{

View file

@ -513,7 +513,7 @@ export async function openEmojiPicker(src?: HTMLElement, opts, initialTextarea:
characterData: false,
});
openingEmojiPicker = await popup(defineAsyncComponent(() => import('@/components/MkEmojiPickerWindow.vue')), {
openingEmojiPicker = await popup(defineAsyncComponent(() => import('@/components/MkEmojiPickerDialog.vue')), {
src,
...opts,
}, {