From 9c26968f9b1914f081435ceadf310dd948e08142 Mon Sep 17 00:00:00 2001 From: KoharuYuzuki <79073521+KoharuYuzuki@users.noreply.github.com> Date: Wed, 17 Apr 2024 21:40:31 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=BD=E3=83=B3=E3=82=B0=EF=BC=9A=E6=B0=B4?= =?UTF-8?q?=E5=B9=B3=E6=96=B9=E5=90=91=E3=81=AE=E6=8B=A1=E5=A4=A7=E7=B8=AE?= =?UTF-8?q?=E5=B0=8F=E6=99=82=E3=81=AB=E5=9E=82=E7=9B=B4=E3=82=B9=E3=82=AF?= =?UTF-8?q?=E3=83=AD=E3=83=BC=E3=83=AB=E3=81=99=E3=82=8B=E3=81=AE=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20(#1995)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Sing/ScoreSequencer.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Sing/ScoreSequencer.vue b/src/components/Sing/ScoreSequencer.vue index bbe0f58533..80911c10b6 100644 --- a/src/components/Sing/ScoreSequencer.vue +++ b/src/components/Sing/ScoreSequencer.vue @@ -1064,6 +1064,9 @@ const onWheel = (event: WheelEvent) => { throw new Error("sequencerBodyElement is null."); } if (isOnCommandOrCtrlKeyDown(event)) { + // scrollイベントの発火を阻止する + event.preventDefault(); + cursorX.value = getXInBorderBox(event.clientX, sequencerBodyElement); // マウスカーソル位置を基準に水平方向のズームを行う const oldZoomX = zoomX.value;