From adad0e22e227402ced0317bb0d2bb61dfb0ca0dd Mon Sep 17 00:00:00 2001 From: Sig <62321214+sigprogramming@users.noreply.github.com> Date: Wed, 22 Jan 2025 19:08:22 +0900 Subject: [PATCH] Update src/components/Sing/SequencerGrid/Presentation.vue Co-authored-by: Hiroshiba --- src/components/Sing/SequencerGrid/Presentation.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/Sing/SequencerGrid/Presentation.vue b/src/components/Sing/SequencerGrid/Presentation.vue index 7cf43658a5..d8484ff06e 100644 --- a/src/components/Sing/SequencerGrid/Presentation.vue +++ b/src/components/Sing/SequencerGrid/Presentation.vue @@ -133,10 +133,7 @@ if (injectedValue == undefined) { throw new Error("injectedValue is undefined."); } -const gridCellWidth = injectedValue.gridCellWidth; -const gridCellHeight = injectedValue.gridCellHeight; -const gridWidth = injectedValue.gridWidth; -const gridHeight = injectedValue.gridHeight; +const { gridCellWidth, gridCellHeight, gridWidth, gridHeight } = injectedValue; const beatWidth = (timeSignature: TimeSignature) => { const beatType = timeSignature.beatType;