feat: add batch undo support for scene triggers

Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-02 22:16:51 +00:00
parent 885ebb7ac6
commit b83e8e787e
3 changed files with 86 additions and 54 deletions

View File

@@ -40,8 +40,10 @@ static AppState create_test_state(void) {
state.undo.undo_index = 0;
state.undo.redo_index = 0;
state.undo.count = 0;
state.undo.current_batch_size = 0;
for (int i = 0; i < MAX_UNDO_HISTORY; i++) {
state.undo.prev_clip_indices[i] = -1;
state.undo.batch_sizes[i] = 0;
}
// JACK info