mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
wip(p65,e2)
This commit is contained in:
parent
fffd830e15
commit
e768790658
9 changed files with 226 additions and 299 deletions
|
|
@ -112,7 +112,7 @@ impl InputToCommand<Tui, ArrangerTui> for ArrangerCommand {
|
|||
PhraseCommand::input_to_command(state, input)?
|
||||
),
|
||||
ArrangerFocus::Phrases => match input.event() {
|
||||
key!(KeyCode::Char('e')) => EditPhrase(state.phrase().clone()),
|
||||
key!(KeyCode::Char('e')) => EditPhrase(state.phrase_editing().clone()),
|
||||
_ => Phrases(PhrasesCommand::input_to_command(state, input)?)
|
||||
},
|
||||
ArrangerFocus::Arranger => {
|
||||
|
|
@ -121,7 +121,7 @@ impl InputToCommand<Tui, ArrangerTui> for ArrangerCommand {
|
|||
use ArrangerClipCommand as Clip;
|
||||
use ArrangerSceneCommand as Scene;
|
||||
match input.event() {
|
||||
key!(KeyCode::Char('e')) => EditPhrase(state.phrase().clone()),
|
||||
key!(KeyCode::Char('e')) => EditPhrase(state.phrase_editing().clone()),
|
||||
_ => match input.event() {
|
||||
// FIXME: boundary conditions
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue