From c36e5666971668d1a2cdff50cdc61408332c5138 Mon Sep 17 00:00:00 2001 From: Sig Date: Sun, 28 Jan 2024 21:47:43 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E3=80=8C=E3=83=8E=E3=83=BC=E3=83=88?= =?UTF-8?q?=E3=81=AE=E9=81=B8=E6=8A=9E=E3=82=92=E5=85=A8=E3=81=A6=E8=A7=A3?= =?UTF-8?q?=E9=99=A4=E3=81=99=E3=82=8B=E3=80=8D=E3=81=AE=E3=82=B7=E3=83=A7?= =?UTF-8?q?=E3=83=BC=E3=83=88=E3=82=AB=E3=83=83=E3=83=88=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0=E3=80=81=E3=83=8E=E3=83=BC=E3=83=88=E7=B7=A8=E9=9B=86?= =?UTF-8?q?=E5=BE=8C=E3=81=AB=E9=81=B8=E6=8A=9E=E3=81=8C=E8=A7=A3=E9=99=A4?= =?UTF-8?q?=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Sing/ScoreSequencer.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Sing/ScoreSequencer.vue b/src/components/Sing/ScoreSequencer.vue index 972f1c5858..d51ac2d275 100644 --- a/src/components/Sing/ScoreSequencer.vue +++ b/src/components/Sing/ScoreSequencer.vue @@ -756,7 +756,6 @@ export default defineComponent({ }); } else { store.dispatch("UPDATE_NOTES", { notes: previewNotes.value }); - store.dispatch("DESELECT_ALL_NOTES"); } if (previewNotes.value.length === 1) { store.dispatch("PLAY_PREVIEW_SOUND", { @@ -890,7 +889,8 @@ export default defineComponent({ case "Delete": handleNotesBackspaceOrDelete(); break; - default: + case "Escape": + store.dispatch("DESELECT_ALL_NOTES"); break; } }; From 7efaa6afa0a2fcfa338193069a7886101960b3b7 Mon Sep 17 00:00:00 2001 From: Sig Date: Sun, 28 Jan 2024 21:51:39 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E3=82=92=E7=A7=BB=E5=8B=95=E3=81=97=E3=81=A6=E5=90=8D=E5=89=8D?= =?UTF-8?q?=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AudioRenderer.ts => sing/audioRendering.ts} | 0 src/store/singing.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{infrastructures/AudioRenderer.ts => sing/audioRendering.ts} (100%) diff --git a/src/infrastructures/AudioRenderer.ts b/src/sing/audioRendering.ts similarity index 100% rename from src/infrastructures/AudioRenderer.ts rename to src/sing/audioRendering.ts diff --git a/src/store/singing.ts b/src/store/singing.ts index d99a094976..9b4269b2e8 100644 --- a/src/store/singing.ts +++ b/src/store/singing.ts @@ -32,7 +32,7 @@ import { PolySynth, Sequence, Transport, -} from "@/infrastructures/AudioRenderer"; +} from "@/sing/audioRendering"; import { getMeasureDuration, isValidNote,