mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-10 05:36:42 +01:00
fix transport clock timebase
This commit is contained in:
parent
ff7ae12405
commit
21b08bf3df
6 changed files with 22 additions and 14 deletions
|
|
@ -15,7 +15,7 @@ impl Content for TransportToolbar<Tui> {
|
|||
|
||||
row!(
|
||||
self.focus.wrap(self.focused, TransportToolbarFocus::Bpm, &Outset::X(1u16, {
|
||||
let bpm = self.clock.timebase.bpm().get();
|
||||
let bpm = self.clock.timebase().bpm().get();
|
||||
row! { "BPM ", format!("{}.{:03}", bpm as usize, (bpm * 1000.0) % 1000.0) }
|
||||
})),
|
||||
//let quant = self.focus.wrap(self.focused, TransportToolbarFocus::Quant, &Outset::X(1u16, row! {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue