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

WIP:音量編集機能の追加 #2369

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
PreviewModeに音量編集モードを追加
rokujyushi committed Nov 10, 2024
commit 5b88f7574d7054d7f006a49e8d458a3cfc34a208
4 changes: 3 additions & 1 deletion src/sing/viewHelper.ts
Original file line number Diff line number Diff line change
@@ -166,7 +166,9 @@ export type PreviewMode =
| "RESIZE_NOTE_RIGHT"
| "RESIZE_NOTE_LEFT"
| "DRAW_PITCH"
| "ERASE_PITCH";
| "ERASE_PITCH"
| "DRAW_VOLUME"
| "ERASE_VOLUME";

export function getButton(event: MouseEvent): MouseButton {
// macOSの場合、Ctrl+クリックは右クリック