mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
sequencer zoom; still slooo
This commit is contained in:
parent
939ffe3630
commit
2f96897d39
9 changed files with 111 additions and 73 deletions
|
|
@ -55,7 +55,7 @@ pub fn draw_bpm (buf: &mut Buffer, x: u16, y: u16, bpm: usize) {
|
|||
let style = Style::default().not_dim();
|
||||
"BPM"
|
||||
.blit(buf, x, y, Some(style));
|
||||
format!("{:03}.{:03}", bpm / 1000, bpm % 1000)
|
||||
format!("{}.{:03}", bpm as usize, bpm % 1)
|
||||
.blit(buf, x + 4, y, Some(style.bold()));
|
||||
"SYNC"
|
||||
.blit(buf, x + 13, y, Some(style));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue