mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 13:16:44 +01:00
wip: reenable standalone sequencer
This commit is contained in:
parent
690a8e8f24
commit
0eb063db1c
7 changed files with 125 additions and 37 deletions
|
|
@ -19,8 +19,12 @@ pub struct SequencerCli {
|
|||
impl SequencerCli {
|
||||
fn run (&self) -> Usually<()> {
|
||||
let seq = Sequencer {
|
||||
transport: self.transport.unwrap_or(false)
|
||||
.then_some(Arc::new(RwLock::new(TransportToolbar::new(None)))),
|
||||
focus: 0,
|
||||
editor: PhraseEditor::new(),
|
||||
phrases: Arc::new(RwLock::new(PhrasePool::new())),
|
||||
transport: self.transport.unwrap_or(false).then_some(
|
||||
Arc::new(RwLock::new(TransportToolbar::new(None)))
|
||||
),
|
||||
};
|
||||
if let Some(name) = self.name.as_ref() {
|
||||
// TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue