mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
wip: p.54, e=85
This commit is contained in:
parent
76af9d9bac
commit
54fb5b6ece
9 changed files with 629 additions and 571 deletions
|
|
@ -61,8 +61,17 @@ impl InputToCommand<Tui, SequencerTui> for SequencerCommand {
|
|||
key!(KeyCode::Left) => Some(Self::Focus(Left)),
|
||||
key!(KeyCode::Right) => Some(Self::Focus(Right)),
|
||||
_ => Some(Self::App(match state.focused() {
|
||||
SequencerFocus::Transport =>
|
||||
TransportCommand::input_to_command(&state, input).map(Transport),
|
||||
SequencerFocus::Transport => {
|
||||
use TransportCommand::{Clock, Playhead};
|
||||
match TransportCommand::input_to_command(view, input)? {
|
||||
Clock(command) => {
|
||||
todo!()
|
||||
},
|
||||
Playhead(command) => {
|
||||
todo!()
|
||||
},
|
||||
}
|
||||
},
|
||||
SequencerFocus::Phrases =>
|
||||
PhrasesCommand::input_to_command(&state.phrases, input).map(Phrases),
|
||||
SequencerFocus::PhraseEditor =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue