From 1e23122da1399bc6c9dd4e0f411ea4d62aa2c2d9 Mon Sep 17 00:00:00 2001 From: Romot Date: Wed, 20 Nov 2024 03:23:58 +0900 Subject: [PATCH 1/3] =?UTF-8?q?#2295=20=E3=83=AB=E3=83=BC=E3=83=A9?= =?UTF-8?q?=E3=83=BC=E3=82=AF=E3=83=AA=E3=83=83=E3=82=AF=E3=81=A7=E3=82=B9?= =?UTF-8?q?=E3=83=8A=E3=83=83=E3=83=97=E4=BD=8D=E7=BD=AE=E3=81=AB=E5=86=8D?= =?UTF-8?q?=E7=94=9F=E3=83=98=E3=83=83=E3=83=89=E3=82=92=E3=81=82=E3=82=8F?= =?UTF-8?q?=E3=81=9B=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sing/SequencerRuler/Container.vue | 2 ++ .../Sing/SequencerRuler/Presentation.vue | 19 ++++++++++++++++--- src/sing/domain.ts | 8 ++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/src/components/Sing/SequencerRuler/Container.vue b/src/components/Sing/SequencerRuler/Container.vue index 94ebdc6c41..6824af1c48 100644 --- a/src/components/Sing/SequencerRuler/Container.vue +++ b/src/components/Sing/SequencerRuler/Container.vue @@ -6,6 +6,7 @@ :sequencerZoomX :numMeasures :playheadTicks + :sequencerSnapType @update:playheadTicks="updatePlayheadTicks" @deselectAllNotes="deselectAllNotes" /> @@ -35,6 +36,7 @@ const store = useStore(); const tpqn = computed(() => store.state.tpqn); const timeSignatures = computed(() => store.state.timeSignatures); const sequencerZoomX = computed(() => store.state.sequencerZoomX); +const sequencerSnapType = computed(() => store.state.sequencerSnapType); const playheadTicks = computed(() => store.getters.PLAYHEAD_POSITION); diff --git a/src/components/Sing/SequencerRuler/Presentation.vue b/src/components/Sing/SequencerRuler/Presentation.vue index 8c078fb1c0..a21fe1b01f 100644 --- a/src/components/Sing/SequencerRuler/Presentation.vue +++ b/src/components/Sing/SequencerRuler/Presentation.vue @@ -62,7 +62,12 @@