extract TransportClock

This commit is contained in:
🪞👃🪞 2024-10-26 16:50:54 +03:00
parent ccc74fd743
commit 85e243f782
6 changed files with 130 additions and 145 deletions

View file

@ -142,7 +142,7 @@ impl Content for PhraseEditor<Tui> {
upper_left = format!("{upper_left}: {}", phrase.read().unwrap().name);
}
let mut upper_right = format!("Zoom: {} (+{}:{}*{}|{})",
ppq_to_name(time_scale),
pulses_to_name(time_scale),
time_start,
time_point.unwrap_or(0),
time_scale,
@ -150,7 +150,7 @@ impl Content for PhraseEditor<Tui> {
);
if *focused && *entered {
upper_right = format!("Note: {} (+{}:{}|{}) {upper_right}",
ppq_to_name(*note_len),
pulses_to_name(*note_len),
note_start,
note_point.unwrap_or(0),
note_clamp.unwrap_or(0),