From 356d28928afc7fafe22a7c7f6b1175786f6b688d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=93=E3=81=91=E3=81=A3=E3=81=A1?= Date: Sun, 18 Sep 2022 01:20:12 +0900 Subject: [PATCH] wip: feat: reaction import contextmenu --- .../components/MkReactionsViewer.reaction.vue | 10 +- .../client/src/components/global/MkEmoji.vue | 8 +- .../client/src/scripts/reactionImportMenu.ts | 121 ++++++++++++++++++ 3 files changed, 137 insertions(+), 2 deletions(-) create mode 100644 packages/client/src/scripts/reactionImportMenu.ts diff --git a/packages/client/src/components/MkReactionsViewer.reaction.vue b/packages/client/src/components/MkReactionsViewer.reaction.vue index 31342b0b4..7e67bc413 100644 --- a/packages/client/src/components/MkReactionsViewer.reaction.vue +++ b/packages/client/src/components/MkReactionsViewer.reaction.vue @@ -6,6 +6,7 @@ class="hkzvhatu _button" :class="{ reacted: note.myReaction == reaction, canToggle }" @click="toggleReaction()" + @contextmenu.stop="onContextmenu" > {{ count }} @@ -13,13 +14,14 @@