From 7552acee2d4b5def63c7ca98355a704c82e465e8 Mon Sep 17 00:00:00 2001 From: Romot Date: Sat, 23 Nov 2024 06:47:40 +0900 Subject: [PATCH] =?UTF-8?q?Add:=E3=83=AB=E3=83=BC=E3=83=A9=E3=83=BC?= =?UTF-8?q?=E3=82=AF=E3=83=AA=E3=83=83=E3=82=AF=E3=81=A7=E3=82=B9=E3=83=8A?= =?UTF-8?q?=E3=83=83=E3=83=97=E4=BD=8D=E7=BD=AE=E3=81=AB=E5=86=8D=E7=94=9F?= =?UTF-8?q?=E3=83=98=E3=83=83=E3=83=89=E3=82=92=E3=81=82=E3=82=8F=E3=81=9B?= =?UTF-8?q?=E3=82=8B=20(#2372)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Hiroshiba --- .../Sing/SequencerRuler/Container.vue | 2 ++ .../Sing/SequencerRuler/Presentation.vue | 17 +++++++++++++++-- .../Sing/SequencerRuler/index.stories.ts | 1 + src/sing/domain.ts | 7 +++++++ 4 files changed, 25 insertions(+), 2 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..9cb4c75916 100644 --- a/src/components/Sing/SequencerRuler/Presentation.vue +++ b/src/components/Sing/SequencerRuler/Presentation.vue @@ -62,7 +62,12 @@