feat: implemented inline edit for the list event panel

This commit is contained in:
Xiaohan-Tian
2026-05-05 17:55:06 -07:00
parent 3743f9cab2
commit 8f453f8f4c
5 changed files with 740 additions and 47 deletions
@@ -16,6 +16,7 @@ interface NoteUpdate {
noteId: string;
pitch?: number;
velocity?: number;
startBeat?: number;
endBeat?: number;
}
@@ -56,6 +57,7 @@ export class UpdateNotePropertiesCommand extends KGCommand {
if (note) {
if (update.pitch !== undefined) note.setPitch(update.pitch);
if (update.velocity !== undefined) note.setVelocity(update.velocity);
if (update.startBeat !== undefined) note.setStartBeat(update.startBeat);
if (update.endBeat !== undefined) note.setEndBeat(update.endBeat);
}
}