mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
put phrases from pool in arrangement
This commit is contained in:
parent
dc3edc86ff
commit
96ca1e148b
4 changed files with 14 additions and 4 deletions
|
|
@ -347,6 +347,11 @@ impl<E: Engine> Arrangement<E> {
|
|||
//})
|
||||
//});
|
||||
}
|
||||
pub fn phrase_put (&mut self) {
|
||||
if let ArrangementFocus::Clip(track, scene) = self.selected {
|
||||
self.scenes[scene].clips[track] = Some(self.phrases.read().unwrap().phrase().clone());
|
||||
}
|
||||
}
|
||||
}
|
||||
impl<E: Engine> ArrangementTrack<E> {
|
||||
pub fn new (name: &str) -> Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue