Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ソング:矩形選択を追加 #1911

Merged
merged 12 commits into from
Mar 13, 2024
Prev Previous commit
Next Next commit
Fix: event.buttonでの絞り忘れ
Co-Authored-By: sigprogramming <[email protected]>
  • Loading branch information
sevenc-nanashi and sigprogramming committed Mar 7, 2024
commit ee039b1471ea3eedb1c240338dd7071df9a35369
12 changes: 6 additions & 6 deletions src/components/Sing/ScoreSequencer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -744,13 +744,13 @@ const onMouseDown = (event: MouseEvent) => {
if (!isSelfEventTarget(event)) {
return;
}
if (event.shiftKey) {
isRectSelecting.value = true;
rectSelectStartX.value = cursorX;
rectSelectStartY.value = cursorY;
return;
}
if (event.button === 0) {
if (event.shiftKey) {
isRectSelecting.value = true;
rectSelectStartX.value = cursorX;
rectSelectStartY.value = cursorY;
return;
}
startPreview(event, "ADD");
mouseDownNoteId = undefined;
sevenc-nanashi marked this conversation as resolved.
Show resolved Hide resolved
} else {
Expand Down