mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
extract TransportClock
This commit is contained in:
parent
ccc74fd743
commit
85e243f782
6 changed files with 130 additions and 145 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue