mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
just formatting
This commit is contained in:
parent
c642998680
commit
47cdf5869b
2 changed files with 20 additions and 23 deletions
|
|
@ -869,22 +869,22 @@ impl<E: Engine> TransportToolbar<E> {
|
|||
pub fn new (transport: Option<Transport>) -> Self {
|
||||
let timebase = Arc::new(Timebase::default());
|
||||
Self {
|
||||
_engine: Default::default(),
|
||||
focused: false,
|
||||
focus: TransportToolbarFocus::PlayPause,
|
||||
playing: Some(TransportState::Stopped),
|
||||
bpm: timebase.bpm(),
|
||||
quant: 24,
|
||||
sync: timebase.ppq() as usize * 4,
|
||||
frame: 0,
|
||||
pulse: 0,
|
||||
ppq: 0,
|
||||
usecs: 0,
|
||||
transport,
|
||||
timebase,
|
||||
_engine: Default::default(),
|
||||
focused: false,
|
||||
focus: TransportToolbarFocus::PlayPause,
|
||||
playing: Some(TransportState::Stopped),
|
||||
bpm: timebase.bpm(),
|
||||
quant: 24,
|
||||
sync: timebase.ppq() as usize * 4,
|
||||
frame: 0,
|
||||
pulse: 0,
|
||||
ppq: 0,
|
||||
usecs: 0,
|
||||
metronome: false,
|
||||
started: None,
|
||||
jack: None,
|
||||
transport,
|
||||
timebase,
|
||||
}
|
||||
}
|
||||
pub fn toggle_play (&mut self) -> Usually<()> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue