mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
fix transport focus order
This commit is contained in:
parent
3569019b86
commit
571d475657
4 changed files with 15 additions and 9 deletions
|
|
@ -18,7 +18,9 @@ impl TryFrom<&Arc<RwLock<JackClient>>> for TransportTui {
|
|||
clock: ClockModel::from(&Arc::new(jack.read().unwrap().transport())),
|
||||
size: Measure::new(),
|
||||
cursor: (0, 0),
|
||||
focus: FocusState::Entered(AppFocus::Content(TransportFocus::Bpm))
|
||||
focus: FocusState::Entered(
|
||||
AppFocus::Content(TransportFocus::PlayPause)
|
||||
)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
@ -60,9 +62,9 @@ impl_focus!(TransportTui TransportFocus [
|
|||
&[
|
||||
Content(PlayPause),
|
||||
Content(Bpm),
|
||||
Content(Quant),
|
||||
Content(Sync),
|
||||
Content(Clock),
|
||||
Content(Quant)
|
||||
],
|
||||
]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue