0
0
Fork 0

spat: Use likely time, if available

This commit is contained in:
Jannik Beyerstedt 2026-06-20 19:53:01 +02:00
commit c771afe744
4 changed files with 33 additions and 18 deletions

View file

@ -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,