spat: Use likely time, if available
This commit is contained in:
parent
712550160f
commit
c771afe744
4 changed files with 33 additions and 18 deletions
|
|
@ -119,9 +119,9 @@ where
|
|||
.draw(target)?;
|
||||
|
||||
// draw timing indicator
|
||||
if let Some(min_end_sec) = sig.min_end_sec {
|
||||
if let Some(end_sec) = sig.end_sec {
|
||||
text::Text::with_alignment(
|
||||
&alloc::format!("{min_end_sec}s"),
|
||||
&alloc::format!("{end_sec}s"),
|
||||
geometry::Point::new(centerline, 160),
|
||||
text_style,
|
||||
text::Alignment::Center,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue