mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 20:26:42 +01:00
bye chain
This commit is contained in:
parent
316fe45b2a
commit
2601592d17
8 changed files with 115 additions and 164 deletions
|
|
@ -112,7 +112,7 @@ pub struct App {
|
|||
pub time_cursor: usize,
|
||||
}
|
||||
|
||||
process!(App |self, client, scope| {
|
||||
process!(App |self, _client, scope| {
|
||||
let transport = self.transport.as_ref().unwrap().query().unwrap();
|
||||
self.playing = Some(transport.state);
|
||||
self.playhead = transport.pos.frame() as usize;
|
||||
|
|
@ -208,9 +208,6 @@ impl App {
|
|||
self.scenes.get_mut(id).map(|t|(id, t))
|
||||
} }
|
||||
}
|
||||
pub fn chain (&self) -> Option<&Chain> {
|
||||
Some(&self.track()?.1.chain)
|
||||
}
|
||||
pub fn phrase_id (&self) -> Option<usize> {
|
||||
let (track_id, _) = self.track()?;
|
||||
let (_, scene) = self.scene()?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue