mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-10 05:36:42 +01:00
separate TimeInteger/TimeFloat
This commit is contained in:
parent
89dcc2afe2
commit
063706017e
4 changed files with 91 additions and 59 deletions
|
|
@ -173,8 +173,8 @@ impl<'a> Content for VerticalArranger<'a, Tui> {
|
|||
.flatten()
|
||||
.map(|t|format!("▎{t:>}"))
|
||||
.unwrap_or(String::from("▎"));
|
||||
let time2 = track.player.switch_at.as_ref()
|
||||
.map(|t|format!("▎{:>}", t.load(Ordering::Relaxed)))
|
||||
let time2 = track.player.next_phrase.as_ref()
|
||||
.map(|(t, _)|format!("▎{:>}", t.load(Ordering::Relaxed)))
|
||||
.unwrap_or(String::from("▎"));
|
||||
col!(name, time1, time2)
|
||||
.min_xy(w as u16, title_h)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue