just formatting

This commit is contained in:
🪞👃🪞 2024-10-03 14:56:47 +03:00
parent c642998680
commit 47cdf5869b
2 changed files with 20 additions and 23 deletions

View file

@ -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<()> {