mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
mi graine
This commit is contained in:
parent
ddaf870271
commit
09abaebc82
2 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ mod horizontal {
|
|||
let key = KEYS_VERTICAL[(index % 6) as usize];
|
||||
key.blit(buf, x + 1, y, Some(bw));
|
||||
"█".blit(buf, x + 2, y, Some(bw));
|
||||
"|---".repeat(width.saturating_sub(6) as usize).blit(buf, x + 5, y, Some(bw.black()));
|
||||
"░".repeat(width.saturating_sub(6) as usize).blit(buf, x + 5, y, Some(bw.black()));
|
||||
let note_a = note0 + (index * 2) as usize;
|
||||
if note_a % 12 == 0 {
|
||||
let octave = format!("C{}", (note_a / 12) as i8 - 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue