From a6a4c217eef5cfae476025355a8b2b4182642819 Mon Sep 17 00:00:00 2001 From: "Nanashi." Date: Sat, 23 Nov 2024 17:54:26 +0900 Subject: [PATCH] =?UTF-8?q?ContextMenu=E3=82=92Container/Presentation?= =?UTF-8?q?=E3=81=AB=E5=88=86=E9=9B=A2=E3=81=99=E3=82=8B=20(#2376)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Hiroshiba --- .../Dialog/DictionaryManageDialog.vue | 2 +- src/components/Menu/ContextMenu/Container.vue | 34 +++++++++++++++++++ .../Presentation.vue} | 11 +++--- .../Sing/PlayheadPositionDisplay.vue | 2 +- src/components/Sing/ScoreSequencer.vue | 2 +- src/components/Sing/SequencerNote.vue | 2 +- src/components/Sing/SideBar/TrackItem.vue | 2 +- src/components/Talk/AccentPhrase.vue | 2 +- src/components/Talk/AudioCell.vue | 2 +- src/composables/useRightClickContextMenu.ts | 2 +- 10 files changed, 47 insertions(+), 14 deletions(-) create mode 100644 src/components/Menu/ContextMenu/Container.vue rename src/components/Menu/{ContextMenu.vue => ContextMenu/Presentation.vue} (87%) diff --git a/src/components/Dialog/DictionaryManageDialog.vue b/src/components/Dialog/DictionaryManageDialog.vue index 5567117996..8ac6d412c1 100644 --- a/src/components/Dialog/DictionaryManageDialog.vue +++ b/src/components/Dialog/DictionaryManageDialog.vue @@ -289,7 +289,7 @@ import { computed, ref, watch } from "vue"; import { QInput } from "quasar"; import AudioAccent from "@/components/Talk/AudioAccent.vue"; -import ContextMenu from "@/components/Menu/ContextMenu.vue"; +import ContextMenu from "@/components/Menu/ContextMenu/Container.vue"; import { useRightClickContextMenu } from "@/composables/useRightClickContextMenu"; import { useStore } from "@/store"; import type { FetchAudioResult } from "@/store/type"; diff --git a/src/components/Menu/ContextMenu/Container.vue b/src/components/Menu/ContextMenu/Container.vue new file mode 100644 index 0000000000..d71ba3d9b7 --- /dev/null +++ b/src/components/Menu/ContextMenu/Container.vue @@ -0,0 +1,34 @@ + + + + + + diff --git a/src/components/Menu/ContextMenu.vue b/src/components/Menu/ContextMenu/Presentation.vue similarity index 87% rename from src/components/Menu/ContextMenu.vue rename to src/components/Menu/ContextMenu/Presentation.vue index 398e75e8d3..da26802ac7 100644 --- a/src/components/Menu/ContextMenu.vue +++ b/src/components/Menu/ContextMenu/Presentation.vue @@ -26,23 +26,22 @@