mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 20:26:42 +01:00
wip: p.58, e=57
This commit is contained in:
parent
0c94c2af8f
commit
e95230a340
5 changed files with 173 additions and 174 deletions
|
|
@ -52,7 +52,8 @@ where
|
|||
|
||||
impl<T> InputToCommand<Tui, T> for SequencerCommand
|
||||
where
|
||||
T: SequencerControl + TransportControl + PhrasesControl + PhraseControl + HasFocus<Item = SequencerFocus>
|
||||
T: SequencerControl + TransportControl + PhrasesControl + PhraseControl + PlayheadApi
|
||||
+ HasFocus<Item = SequencerFocus> + FocusGrid<Item = SequencerFocus>
|
||||
{
|
||||
fn input_to_command (state: &T, input: &TuiInput) -> Option<Self> {
|
||||
use FocusCommand::*;
|
||||
|
|
@ -92,7 +93,8 @@ where
|
|||
|
||||
impl<T> InputToCommand<Tui, T> for ArrangerCommand
|
||||
where
|
||||
T: ArrangerControl + TransportControl + PhrasesControl + PhraseControl + HasFocus<Item = ArrangerFocus>
|
||||
T: ArrangerControl + TransportControl + PhrasesControl + PhraseControl + PlayheadApi
|
||||
+ HasFocus<Item = ArrangerFocus> + FocusGrid<Item = ArrangerFocus>
|
||||
{
|
||||
fn input_to_command (state: &T, input: &TuiInput) -> Option<Self> {
|
||||
use FocusCommand::*;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue