mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
phrases: autoshow, autoedit
This commit is contained in:
parent
02fa22e2ea
commit
2f904ed78b
4 changed files with 14 additions and 26 deletions
|
|
@ -27,9 +27,10 @@ impl Arranger<Tui> {
|
|||
fn handle_focused (&mut self, from: &TuiInput) -> Perhaps<bool> {
|
||||
match self.focused() {
|
||||
ArrangerFocus::Transport => self.transport.handle(from),
|
||||
ArrangerFocus::Arrangement => self.handle_arrangement(from),
|
||||
ArrangerFocus::PhrasePool => self.handle_pool(from),
|
||||
ArrangerFocus::PhraseEditor => self.editor.handle(from),
|
||||
ArrangerFocus::Arrangement => self.handle_arrangement(from)
|
||||
.and_then(|result|{self.show_phrase();Ok(result)}),
|
||||
}
|
||||
}
|
||||
/// Helper for phrase event passthru when phrase pool is focused
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue