show time_point; wrap time; handle enter at top level

This commit is contained in:
🪞👃🪞 2024-11-30 22:36:58 +01:00
parent f7ae5fc8e0
commit 37d4a42a83
3 changed files with 47 additions and 74 deletions

View file

@ -212,7 +212,8 @@ impl<'a> Content for PhraseView<'a> {
}
let mut upper_right = format!("[{}]", if *entered {""} else {" "});
if let Some(phrase) = phrase {
upper_right = format!("┤Length: {}├─┤Zoom: {}{upper_right}",
upper_right = format!("┤Time: {}/{} {}{upper_right}",
time_point,
phrase.read().unwrap().length,
pulses_to_name(*time_scale),
)