piano roll and clip resizing fixes

This commit is contained in:
Skyler Lehmkuhl
2026-02-21 18:45:46 -05:00
parent 16011e5f28
commit 4122fda954
6 changed files with 300 additions and 59 deletions
+6
View File
@@ -2507,6 +2507,12 @@ impl Engine {
Err(e) => QueryResponse::ProjectSet(Err(format!("Failed to rebuild audio graphs: {}", e))),
}
}
Query::DuplicateMidiClipSync(clip_id) => {
match self.project.midi_clip_pool.duplicate_clip(clip_id) {
Some(new_id) => QueryResponse::MidiClipDuplicated(Ok(new_id)),
None => QueryResponse::MidiClipDuplicated(Err(format!("MIDI clip {} not found", clip_id))),
}
}
};
// Send response back