関心事でないのでとりあえず置いておく

This commit is contained in:
tamaina 2022-01-28 05:56:24 +09:00
parent 4a7f968741
commit 410939a524
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ import MkWindow from '@/components/ui/window.vue';
import MkEmojiPicker from '@/components/emoji-picker.vue';
withDefaults(defineProps<{
src?: HTMLElement | EventTarget;
src?: HTMLElement;
showPinned?: boolean;
asReactionPicker?: boolean;
}>(), {

View file

@ -1,5 +1,5 @@
<template>
<div class="vswabwbm" :style="{ zIndex, top: `${y - 64}px`, left: `${x - 64}px` }">
<div class="vswabwbm" :style="{ zIndex, top: `${y - 64}px`, left: `${x - 64}px` }" :class="{ active }">
<svg width="128" height="128" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg">
<circle fill="none" cx="64" cy="64">
<animate attributeName="r"

View file

@ -422,7 +422,7 @@ type AwaitType<T> =
T;
let openingEmojiPicker: AwaitType<ReturnType<typeof popup>> | null = null;
let activeTextarea: HTMLTextAreaElement | HTMLInputElement | null = null;
export async function openEmojiPicker(src?: HTMLElement | EventTarget | null, opts, initialTextarea: typeof activeTextarea) {
export async function openEmojiPicker(src?: HTMLElement, opts, initialTextarea: typeof activeTextarea) {
if (openingEmojiPicker) return;
activeTextarea = initialTextarea;