This commit is contained in:
ThinaticSystem 2022-09-12 00:25:22 +09:00
parent a8c7c0745c
commit f9f72d954c
2 changed files with 2 additions and 3 deletions

View File

@ -1,8 +1,7 @@
<template> <template>
<div class="omfetrab" :class="['s' + size, 'w' + width, 'h' + height, { asDrawer }]" :style="{ maxHeight: maxHeight ? maxHeight + 'px' : undefined }"> <div class="omfetrab" :class="['s' + size, 'w' + width, 'h' + height, { asDrawer }]" :style="{ maxHeight: maxHeight ? maxHeight + 'px' : undefined }">
<input ref="search" v-model.trim="q" class="search" data-prevent-emoji-insert :class="{ filled: q != null && q != '' }" :placeholder="i18n.ts.search" type="search" @paste.stop="paste" @keyup.enter="done()"> <input ref="search" v-model.trim="q" class="search" data-prevent-emoji-insert :class="{ filled: q != null && q != '' }" :placeholder="i18n.ts.search" type="search" @paste.stop="paste" @keyup.enter="done()">
<MkSwitch class="_formBlock" v-model="withRenote">renote <MkSwitch v-model="withRenote">{{ i18n.ts.reactWithRenote }}</MkSwitch>
</MkSwitch>
<div ref="emojis" class="emojis"> <div ref="emojis" class="emojis">
<section class="result"> <section class="result">
<div v-if="searchResultCustom.length > 0" class="body"> <div v-if="searchResultCustom.length > 0" class="body">

View File

@ -4,7 +4,7 @@ import { popup } from '@/os';
class ReactionPicker { class ReactionPicker {
private src: Ref<HTMLElement | null> = ref(null); private src: Ref<HTMLElement | null> = ref(null);
private manualShowing = ref(false); private manualShowing = ref(false);
private onChosen?: ({ reaction: string, withRenote: boolean }) => void; private onChosen?: (reaction: string, withRenote: boolean) => void;
private onClosed?: () => void; private onClosed?: () => void;
constructor() { constructor() {