From 4b5f6fe048d4dd20afc13e9029b663c720c19363 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Fri, 22 Nov 2024 18:11:24 +0900 Subject: [PATCH 1/3] =?UTF-8?q?Migrate:=20ContextMenu=E3=82=92Container/Pr?= =?UTF-8?q?esentation=E3=81=AB=E5=88=86=E9=9B=A2=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialog/DictionaryManageDialog.vue | 2 +- src/components/Menu/ContextMenu/Container.vue | 32 +++++++++++++++++++ .../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, 45 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..96311f69be --- /dev/null +++ b/src/components/Menu/ContextMenu/Container.vue @@ -0,0 +1,32 @@ + + + + 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 @@ - From a785026433a238238d87b93f9b7a9f0d43903072 Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Sat, 23 Nov 2024 17:47:02 +0900 Subject: [PATCH 3/3] Update src/components/Menu/ContextMenu/Container.vue --- src/components/Menu/ContextMenu/Container.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Menu/ContextMenu/Container.vue b/src/components/Menu/ContextMenu/Container.vue index 56c1b5448a..d71ba3d9b7 100644 --- a/src/components/Menu/ContextMenu/Container.vue +++ b/src/components/Menu/ContextMenu/Container.vue @@ -1,3 +1,5 @@ + +