mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
show hotkeys in status bar
This commit is contained in:
parent
51889d4b43
commit
86649ef994
3 changed files with 53 additions and 15 deletions
|
|
@ -122,10 +122,11 @@ impl<'a> Content for PhraseView<'a> {
|
|||
let piano_roll = row!(keys, note_area).fill_x();
|
||||
let content = piano_roll.bg(Color::Rgb(40, 50, 30)).border(border);
|
||||
let content = lay!(content, playhead);
|
||||
let mut upper_left = format!("[{}] Sequencer", if *entered {"■"} else {" "});
|
||||
let mut name = "".to_string();
|
||||
if let Some(phrase) = phrase {
|
||||
upper_left = format!("{upper_left}: {}", phrase.read().unwrap().name);
|
||||
name = phrase.read().unwrap().name.clone();
|
||||
}
|
||||
let mut upper_left = format!("[{}] {name}", if *entered {"■"} else {" "},);
|
||||
let mut lower_right = format!("┤{}├", size.format());
|
||||
lower_right = format!("┤Zoom: {}├─{lower_right}", pulses_to_name(time_scale));
|
||||
//lower_right = format!("Zoom: {} (+{}:{}*{}|{})",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue